Skip to content

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

Closed

Description

@keithamus

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 #161

Activity

  1. rniwa commented on Apr 21, 2023

    @rniwa
    Contributor

    TreeWalker is in a DOM specification so this issue should be tracked in https://github.com/whatwg/dom/ instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions