Skip to content

refactor: use the elemental DOM API directly in the client engine - #25146

Open
Artur- wants to merge 3 commits into
mainfrom
remove-dom-api
Open

refactor: use the elemental DOM API directly in the client engine#25146
Artur- wants to merge 3 commits into
mainfrom
remove-dom-api

Conversation

@Artur-

@Artur- Artur- commented Aug 6, 2026

Copy link
Copy Markdown
Member

DomApi.wrap only returned the node itself after the Polymer DOM API was removed, and DomNode and DomElement describe the same native DOM operations as elemental Node and Element. Call sites now use the elemental types directly, which also lets StateTree.getStateNodeForDomNode accept a Node.

DomApiAbstractionUsageTest verified that every DOM call went through DomApi.wrap so that Polymer could rewrite the operation. There is nothing left to rewrite, so the test is removed together with the abstraction.

DomApi.wrap only returned the node itself after the Polymer DOM API was
removed, and DomNode and DomElement describe the same native DOM
operations as elemental Node and Element. Call sites now use the
elemental types directly, which also lets StateTree.getStateNodeForDomNode
accept a Node.

DomApiAbstractionUsageTest verified that every DOM call went through
DomApi.wrap so that Polymer could rewrite the operation. There is nothing
left to rewrite, so the test is removed together with the abstraction.
@Artur-

Artur- commented Aug 11, 2026

Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved in 2356df2.

@Artur-
Artur- marked this pull request as ready for review August 11, 2026 13:58
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

 1 449 files   - 1   1 450 suites   - 1   1h 28m 15s ⏱️ + 2m 27s
10 393 tests  - 1  10 326 ✅  - 1  67 💤 ±0  0 ❌ ±0 
10 829 runs   - 1  10 761 ✅  - 1  68 💤 ±0  0 ❌ ±0 

Results for commit 0324994. ± Comparison against base commit a1e3b17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🔎Iteration reviews

Development

Successfully merging this pull request may close these issues.

3 participants