-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: shadowRelates to shadow trees (as defined in DOM)Relates to shadow trees (as defined in DOM)
Description
I think this would be useful for authors that want to write Shadow-DOM aware code.
All browser engines have a way to get a hand to the subtree root and check if it's a shadow root in one way or another.
WebKit: https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/dom/Node.cpp?rev=+254087#L1127
How do folks feel about this? Maybe it should just be in Element and Text or something...
cc @whatwg/components
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: shadowRelates to shadow trees (as defined in DOM)Relates to shadow trees (as defined in DOM)