[css-cascade] Provide a syntax for re-using cascade layers across encapsulation context? · Issue #5854 · w3c/csswg-drafts (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@mirisuzanne

Description

@mirisuzanne

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…

I don't currently know of any use-cases, but if they exists we probably need a special syntax for that.