Open
Description
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