Skip to content

Commit caad1ea

Browse files
committed
[selectors-4][editorial] Fix the statement about wrapping a selector in :is(). w3c#6792
1 parent 87607ab commit caad1ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

selectors-4/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3704,7 +3704,9 @@ Grammar</h2>
37043704
<<forgiving-selector-list>> is used in '':is()'' and '':where()'' only.
37053705
Although it does have some minor implications on specificity,
37063706
wrapping a style rule's selector in '':is()''
3707-
effectively "upgrades" it to become forgiving.
3707+
effectively "upgrades" it to become forgiving,
3708+
so long as it doesn't contain any pseudo-elements
3709+
(which aren't valid in '':is()'' or '':where()'').
37083710

37093711
Syntactically, <<forgiving-selector-list>> is equivalent to <code><<any-value>>?</code>.
37103712
It is then [=parsed as a forgiving selector list=]

0 commit comments

Comments
 (0)