Skip to content

Extension only API to query across shadow trees #1321

Open
@rniwa

Description

@rniwa

What problem are you trying to solve?

Certain browser extensions need to query elements across shadow trees in order to implement features such as autofill.

What solutions exist today?

Chrome exposes chrome.dom.openOrClosedShadowRoot. Firefox exposes element.openOrClosedShadowRoot. Safari has collectMatchingElementsInFlatTree defined in window for Safari's autofill implementation.

How would you solve it?

Ideally, we'd come up with an interoperable API for browser extensions that work across browsers.

Anything else?

No response

Activity

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

    addition/proposalNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interesttopic: 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