@@ -1225,7 +1225,7 @@ The Specificity-adjustment Pseudo-class: '':where()''
1225
1225
The Relational Pseudo-class: '':has()''
1226
1226
1227
1227
The relational pseudo-class, :has() ,
1228
- is a functional pseudo-class taking a <> as an argument.
1228
+ is a functional pseudo-class taking a <real- selector-list>> as an argument.
1229
1229
It represents an element if any of the
relative selectors
1230
1230
would match at least one element
1231
1231
when [=anchor element|anchored against=] this element.
@@ -2905,7 +2905,7 @@ Child-indexed Pseudo-classes
2905
2905
are among An+B th elements
2906
2906
from the list composed of
2907
2907
2908
- which is a <> .
2908
+ which is a <real- selector-list>>.
2909
2909
If S is omitted,
2910
2910
it defaults to ''*|*'' .
2911
2911
@@ -3002,7 +3002,7 @@ Child-indexed Pseudo-classes
3002
3002
from the list composed of
3003
3003
3004
3004
counting backwards from the end.
3005
- S is <> .
3005
+ S is <real- selector-list>>.
3006
3006
If S is omitted,
3007
3007
it defaults to ''*|*'' .
3008
3008
@@ -3530,17 +3530,25 @@ Grammar
3530
3530
3531
3531
<complex-selector-list> = <> #
3532
3532
3533
+ <complex-real-selector-list> = <> #
3534
+
3533
3535
<compound-selector-list> = <> #
3534
3536
3535
3537
<simple-selector-list> = <> #
3536
3538
3537
3539
<relative-selector-list> = <> #
3538
3540
3541
+ <relative-real-selector-list> = <> #
3542
+
3539
3543
<complex-selector> = [ <> ? <> * ]!
3540
3544
3541
3545
3546
+ <complex-real-selector> = <> [ <> ? <> ]*
3547
+
3542
3548
<relative-selector> = <> ? <>
3543
3549
3550
+ <relative-real-selector> = <> ? <>
3551
+
3544
3552
<compound-selector> = [ <> ? <> * ]!
3545
3553
3546
3554
<pseudo-compound-selector> = <> <> *
0 commit comments