Skip to content

Commit

Permalink
[css-nesting-1] Per discussion, & equals :scope in non-nested contexts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Jan 10, 2023
1 parent f67d75d commit 45d2efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css-nesting-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -899,8 +899,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
When used in the selector of a <a>nested style rule</a>,
the <a>nesting selector</a> represents the elements matched by the parent rule.
When used in any other context,
it represents nothing.
(That is, it's valid, but matches no elements.)
it represents the same elements as '':scope'' in that context
(unless otherwise defined).

<div class="note">
The <a>nesting selector</a> can be desugared
Expand Down

0 comments on commit 45d2efc

Please sign in to comment.