[css-cascade] Provide a syntax for re-using cascade layers across encapsulation context? · Issue #5854 · w3c/csswg-drafts (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
This was raised in #4984, related to the Cascade level 5 spec.
From the spec:
Note: Layer name matching does not cross the shadow DOM boundary,
so the ordering of layers in the light DOM has no impact
on the order of identically-named layers in the shadow DOM.
Are there use-cases where an author would want to…
- Reference or adjust global layer, from inside shadow-DOM?
- Reference or adjust an encapsulated shadow-DOM layer, from the global styles?
I don't currently know of any use-cases, but if they exists we probably need a special syntax for that.