Skip to content

Should TreeWalker be expanded to support shadow roots in support of the selection API? #1189

Open
@keithamus

Description

@keithamus

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs concrete proposalMoving the issue forward requires someone to figure out a detailed planneeds implementer interestMoving the issue forward requires implementers to express interesttopic: nodestopic: shadowRelates to shadow trees (as defined in DOM)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions