@@ -314,11 +314,7 @@ Effects of ''@scope''</h4>
314314 the ''@scope'' rule’s [=scoping root=] ,
315315 including the [=featureless=] [=shadow host=]
316316 when that host is the [=scoping root=] .
317- The ''&'' selector is defined to represent
318- the selector representing the [=scoping root=]
319- (the <<scope-start>> selector),
320- or else '':scope'' if no selector was specified.
321-
317+ * The ''&'' selector is defined to behave as <code> :where(:scope)</code> .
322318 * The [=cascade=] prioritizes declarations
323319 with a [=scope proximity|more proximate=] [=scoping root=] ,
324320 regardless of specificity or order of appearance
@@ -518,19 +514,11 @@ Scoped Style Rules</h4>
518514 }
519515 </pre>
520516
521- While the '':scope'' or ''&'' selectors
522- can both refer to the [=scoping root=] ,
523- they have otherwise different meanings in this context:
524-
525- : Differences in selector matching
526- :: The '':scope'' selector will only match the [=scoping root=] itself,
527- while the ''&'' selector is able to match any element
528- that is matched by the <<scope-start>> selector list.
529- : Differences in selector specificity
530- :: The '':scope'' selector has a specificity
531- equal to other pseudo-classes,
532- while the ''&'' selector has the specificity
533- equal to the most specific selector in <<scope-start>> .
517+ Both the '':scope'' and ''&'' selectors
518+ match the [=scope root=] ,
519+ but with different [=specificity=] :
520+ '':scope'' has as [=specificity=] of (0,1,0),
521+ whereas ''&'' has a [=specificity=] of 0.
534522 </div>
535523
536524<h4 id="scope-limits">
@@ -773,6 +761,9 @@ Changes since the 21 March 2023 Working Draft</h3>
773761 Significant changes since the
774762 <a href="https://www.w3.org/TR/2023/WD-css-cascade-6-20230321/">21 March 2023 Working Draft</a> include:
775763
764+ * Defined ''&'' to behave like <code> :where(:scope)</code> .
765+ (<a href="https://github.com/w3c/csswg-drafts/issues/9740">Issue 9740</a> )
766+
776767 * Allowed [=declarations=] directly within ''@scope'' .
777768 (<a href="https://github.com/w3c/csswg-drafts/issues/10389">Issue 10389</a> )
778769
0 commit comments