[csswg-drafts] [css-namespaces-3] `@layer` statement should be valid before `@namespace` (#8658)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-namespaces-3] `@layer` statement should be valid before `@namespace` ==
In [Cascade 5](https://drafts.csswg.org/css-cascade-5/#layer-empty):

  > Such empty `@layer` rules are allowed before `@import` and `@namespace` rules

Therefore there is probably an oversight [in CSS Namespaces 3](https://drafts.csswg.org/css-namespaces-3/#syntax):

  > Any `@namespace` rules must follow all `@charset` and `@import` rules

For [`@import`](https://drafts.csswg.org/css-cascade-5/#at-import):

  > Any `@import` rules must precede all other valid at-rules and style rules in a style sheet (ignoring `@charset` and `@layer` statement rules)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8658 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 March 2023 03:48:22 UTC