Skip to content

Commit 45d2efc

Browse files
committed
[css-nesting-1] Per discussion, & equals :scope in non-nested contexts.
1 parent f67d75d commit 45d2efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-nesting-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
899899
When used in the selector of a <a>nested style rule</a>,
900900
the <a>nesting selector</a> represents the elements matched by the parent rule.
901901
When used in any other context,
902-
it represents nothing.
903-
(That is, it's valid, but matches no elements.)
902+
it represents the same elements as '':scope'' in that context
903+
(unless otherwise defined).
904904

905905
<div class="note">
906906
The <a>nesting selector</a> can be desugared

0 commit comments

Comments
 (0)