[css-nesting-1] Is @layer
statement allowed to be nested in style rules?
#8714
Labels
Closed as Question Answered
Used when the issue is more of a question than a problem, and it's been answered.
The normative text does not allow it (emphasize added):
However the following non-normative note links to the general
@layer
definition (for both block and statement@layer
):I do not see any non-contrived use of
@layer
statement nested in style rules but I also do not see a good reason to not allow it other than finding an appropriate term to replace nested group rules. Maybe nested conditional and cascade rules?Note that
@container
is already defined as a conditional group rule:The text was updated successfully, but these errors were encountered: