Skip to content

Commit 6fd87b2

Browse files
committed
[css-nesting-1] Use the new <<style-block>> production.
1 parent 0665809 commit 6fd87b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-nesting-1/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ The Nesting At-Rule: ''@nest'' {#at-nest}
390390
Its syntax is:
391391

392392
<pre class=prod>
393-
<dfn>@nest</dfn> = @nest <<selector-list>> { <<declaration-list>> }
393+
<dfn>@nest</dfn> = @nest <<selector-list>> { <<style-block>> }
394394
</pre>
395395

396396
The ''@nest'' rule is only valid inside of a [=style rule=].
@@ -522,7 +522,8 @@ Nesting Conditional Rules {#conditionals}
522522
inside of [=style rules=].
523523

524524
When nested in this way,
525-
the contents of a [=conditional group rule=] are parsed the same as a [=style rule's=] contents:
525+
the contents of a [=conditional group rule=] are parsed as <<style-block>>
526+
rather than <<stylesheet>>:
526527

527528
* Properties can be directly used,
528529
applying to the same elements as the parent rule

0 commit comments

Comments
 (0)