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