Skip to content

Commit e0e8d7e

Browse files
committed
[css-cascade-5] Clarify note on @layer between @import/@namespace rules #6522
1 parent 7fe2a9e commit e0e8d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-cascade-5/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1619,9 +1619,9 @@ Declaring Without Styles: the ''@layer'' statement at-rule</h5>
16191619
(after the ''@charset'' rule, if any)
16201620
as well as everywhere ''@layer'' [=block at-rules=] are allowed.
16211621

1622-
Note: They are not allowed between (or intermixed with) ''@import'' and ''@namespace'' rules,
1623-
and such interleaved ''@layer'' rules will cause any subsequent ''@import'' or ''@namespace'' rules
1624-
to be ignored.
1622+
Note: Empty ''@layer'' rules are not allowed between ''@import'' and ''@namespace'' rules.
1623+
Any ''@layer'' rules that comes after an ''@import'' or ''@namespace'' rule
1624+
will cause any subsequent ''@import'' or ''@namespace'' rules to be ignored.
16251625

16261626
Unlike the [[#layer-block|block syntax]],
16271627
multiple comma-separated layer names can be provided in this syntax,

0 commit comments

Comments
 (0)