Skip to content

Commit 5548e04

Browse files
committed
[css-cascade-6] Clarify that style rules within name-defining rules are still scoped.
1 parent 634d784 commit 5548e04

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

css-cascade-6/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,9 @@ Scope Nesting</h4>
517517
that are defined inside ''@scope'' are valid,
518518
but are not scoped or otherwise affected
519519
by the enclosing ''@scope'' rule.
520+
However, any [=style rules=] contained by such rules
521+
(e.g. within ''@layer'')
522+
are [=scoped style rules|scoped=].
520523

521524
<h3 id="scope-combinator">
522525
Scoped Descendant Combinator</h3>

0 commit comments

Comments
 (0)