Repository navigation
Conversation
commit: |
This was referenced Nov 13, 2026
cowboyd
marked this pull request as draft
November 13, 2026 03:42
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 13, 2026 05:22
eee4cc2 to
2e1197b
Compare
cowboyd
marked this pull request as ready for review
November 13, 2026 05:39
This was referenced Nov 13, 2026
Draft
cowboyd
marked this pull request as draft
November 17, 2026 17:45
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 17, 2026 18:03
2e1197b to
b036672
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 17, 2026 21:35
b036672 to
1b1342b
Compare
cowboyd
changed the base branch from
dom-default-view
to
dom-document-fragment
November 17, 2026 21:35
2 of 9 tasks
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 17, 2026 21:43
1b1342b to
a7ba3cd
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 17, 2026 22:12
a7ba3cd to
cfbadc5
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 18, 2026 02:41
cfbadc5 to
2c71877
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 18, 2026 02:50
2c71877 to
fa76dc1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
There are a lot of methods needed for the WPT to run the CSS tests.
Add
Document.getElementById()and the DOM support needed to exercise it with parsed Web Platform Test fixtures. Lookup returns the first matching element in current tree order and reflects ID changes, insertion, removal, and reordering.Stacked on #90, which adds document fragments for native WPT setup.
This lookup rung includes:
HTMLDivElement, which the upstream lookup cases check directly. HTML document structure is inherited from the native WPT base (Run upstream WPT sources directly and remove the adapted suite #87).getElementsByTagName()results andHTMLCollectionindexed properties, iteration, and named lookup.Relevant specs: DOM’s ID lookup, tag-name lookup, and HTMLCollection.
Type of change
Checklist
AI-generated code disclosure
AI assisted with implementation, WPT adaptations, validation, and PR splitting.