Should TreeWalker be expanded to support shadow roots in support of the selection API? #1189
Labels
needs concrete proposal
Moving the issue forward requires someone to figure out a detailed plan
needs implementer interest
Moving the issue forward requires implementers to express interest
topic: nodes
topic: shadow
Relates to shadow trees (as defined in DOM)
(from w3c/selection-api#164)
WCCG had their spring F2F in which this was discussed. Present members of WCCG identified an action item to raise this issue. You can read the full notes of the discussion (WCCG had their spring F2F) in which this was discussed, heading entitled "Selection API". I won't be quoting the notes for brevity.
TreeWalker was discussed as a mechanism to walk the DOM to gather textcontent of the currently selected nodes, but it was pointed out that TreeWalker does not iterate over shadow roots.
This issue is to discuss the expansion of TreeWalker to support shadow roots, perhaps using a
shadowroots:
option to provide contained shadow roots?Refs w3c/selection-api#161
The text was updated successfully, but these errors were encountered: