Skip to content

Unusual behavior with shadow dom / web components #52

@jlandrum

Description

@jlandrum

I've noticed that for open shadow dom, the contents of the shadow dom are properly traversed except slotted items are not, however if the shadow dom is closed the contents of the shadow dom are not traversed but the slotted items are.

The open behavior can be seen here:
https://lit.dev/playground/

I couldn't find any examples of closed as it's uncommon but the behavior is interesting and may be related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions