Declarative shadow root adoption #10933
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
There's no way for declarative shadow roots to declaratively adopt styles, forcing JS to be used to add them. This partially defeats the point of using declarative shadow DOM at all, since it means some styles' application are unavoidably blocked on scripting.
What solutions exist today?
None, really. You could shim it with this as the first script element, though:
How would you solve it?
Add a
shadowrootadopt="..."
, a token list of adopted<style>
and<link rel="stylesheet">
IDs.Anything else?
No response
The text was updated successfully, but these errors were encountered: