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
Closed
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
2 times, most recently
from
November 18, 2026 02:50
2c71877 to
fa76dc1
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 18, 2026 23:31
fa76dc1 to
c288b8e
Compare
cowboyd
marked this pull request as ready for review
November 18, 2026 23:36
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 19, 2026 01:06
c288b8e to
0e73e7f
Compare
cowboyd
force-pushed
the
dom-get-element-by-id
branch
2 times, most recently
from
November 19, 2026 17:17
28354a8 to
6c77904
Compare
3 of 9 tasks
3 of 9 tasks
cowboyd
added a commit
that referenced
this pull request
Nov 19, 2026
## What does this PR do? Add `Document.createDocumentFragment()`, fragment node identity, descendant `textContent`, and insertion that transfers children in order and returns the emptied fragment. Enable the corresponding original Web Platform Tests. This starts the shared DOM foundation used by styling (#38) and focus (#75). The next PR, #70, adds document lookup and live collections on top of these node primitives. The WPT runner is inherited from `main`. ## Type of change - [ ] Bug fix - [x] Feature - [ ] Refactor (no behavior change) - [ ] Documentation - [ ] Performance improvement - [ ] Tests - [ ] Chore (dependencies, CI, tooling) ## Checklist - [x] I have added a changeset ## AI-generated code disclosure - [x] This PR includes AI-generated code
cowboyd
force-pushed
the
dom-get-element-by-id
branch
from
November 19, 2026 17:24
6c77904 to
60527fe
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?
Provide the shared DOM lookup layer at the base of the styling stack. The focus stack (#75) also depends on this PR; document fragments from #90 are already on main.
Document.getElementById()finds the first matching element in current tree order and reflects ID changes, insertion, removal, and reordering.findElementandfindElementsreuse the CSS selector adapter for literal predicate traversal.Document.getElementsByTagName()returns liveHTMLCollectionresults with indexed access, iteration, and named lookup.HTMLDivElementis registered once in the document factory and WPT bindings.Type of change
Checklist
AI-generated code disclosure