Repository navigation
Conversation
commit: |
cowboyd
marked this pull request as ready for review
November 14, 2026 23:51
cowboyd
marked this pull request as draft
November 17, 2026 17:46
cowboyd
force-pushed
the
dom-inert
branch
3 times, most recently
from
November 17, 2026 21:43
d361709 to
c519ddd
Compare
cowboyd
force-pushed
the
dom-inert
branch
2 times, most recently
from
November 17, 2026 22:39
659d84c to
a7d687b
Compare
2 of 9 tasks
This was referenced Nov 18, 2026
Closed
natemoo-re
approved these changes
Nov 19, 2026
| } | ||
| } | ||
|
|
||
| function* lineage(node: Node): Iterable<Node> { |
Member
There was a problem hiding this comment.
ancestors might be a better name?
Contributor
Author
There was a problem hiding this comment.
I was going to go with that, but ancestors seems to imply that it does not contain the original node. So if you have a Nodes A -> B -> C lineage(C) === [A,B,C] whereas ancestors seems to me to be [A,B]
Dunno. Open to other suggestions, but ancestors didn't quite fit to me. Maybe a comment?
Contributor
Author
|
no stacks on stacks |
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?
Add
HTMLElement.inertreflection and preventHTMLElement.focus()from entering inert subtrees. The property reflects the element's own attribute; focus checks the element and its ancestors.The native WPT runner and live Window named access are inherited from #87.
The click-dependent inert fixture remains deferred until layout, hit testing, and a real input backend are available.
Type of change
Checklist
AI-generated code disclosure