@@ -2834,7 +2834,7 @@ Child-indexed Pseudo-classes
2834
2834
are among An+B th elements
2835
2835
from the list composed of
2836
2836
2837
- which is [=parsed as a forgiving selector list=] .
2837
+ which is a <> [=parsed as a forgiving selector list=] .
2838
2838
If S is omitted,
2839
2839
it defaults to ''*|*'' .
2840
2840
@@ -2922,6 +2922,9 @@ Child-indexed Pseudo-classes
2922
2922
2923
2923
2924
2924
2925
+ Note: We intend to extend '':nth-child()'' to accept <>
2926
+ in Level 5.
2927
+
2925
2928
2926
2929
'':nth-last-child()'' pseudo-class
2927
2930
@@ -2931,7 +2934,7 @@ Child-indexed Pseudo-classes
2931
2934
from the list composed of
2932
2935
2933
2936
counting backwards from the end.
2934
- S is [=parsed as a forgiving selector list=] .
2937
+ S is <> [=parsed as a forgiving selector list=] .
2935
2938
If S is omitted,
2936
2939
it defaults to ''*|*'' .
2937
2940
@@ -2954,6 +2957,9 @@ Child-indexed Pseudo-classes
2954
2957
2955
2958
2956
2959
2960
+ Note: We intend to extend '':nth-last-child()'' to accept <>
2961
+ in Level 5.
2962
+
2957
2963
2958
2964
'':first-child'' pseudo-class
2959
2965
@@ -4038,6 +4044,8 @@ Changes since the 21 November 2018 Working Draft
4038
4044
Defined '':is()'' , '':where()'' , '':has()'' , '':nth-child()'' , and '':nth-last-child()''
4039
4045
to not be themselves invalidated when containing an invalid selector.
4040
4046
4047
+ Limited selectors in '':nth-child()'' and '':nth-last-child()'' to [=compound selectors=] for now.
4048
+
4041
4049
Clarified case-sensitive string matching by referencing string identity as defined in [[INFRA]] .
4042
4050
Clarified that UA-provided placeholder text still triggers '':placeholder-shown'' .
4043
4051
Rewrote '':focus-visible'' definition for clarity.
0 commit comments