Skip to content

Commit 03f6b66

Browse files
committed
[selectors-4] Remove compound selector limitation introduced in b86026d #3760
1 parent 8ade897 commit 03f6b66

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

selectors-4/Overview.bs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2843,7 +2843,7 @@ Child-indexed Pseudo-classes
28432843
are among An+Bth elements
28442844
from the list composed of
28452845
their inclusive siblings that match the selector list S,
2846-
which is a <<compound-selector-list>> [=parsed as a forgiving selector list=].
2846+
which is a <<complex-selector-list>> [=parsed as a forgiving selector list=].
28472847
If S is omitted,
28482848
it defaults to ''*|*''.
28492849

@@ -2931,9 +2931,6 @@ Child-indexed Pseudo-classes
29312931
29322932
29332933

2934-
Note: We intend to extend '':nth-child()'' to accept <>
2935-
in Level 5.
2936-
29372934

29382935
'':nth-last-child()'' pseudo-class
29392936

@@ -2943,7 +2940,7 @@ Child-indexed Pseudo-classes
29432940
from the list composed of
29442941
their inclusive siblings that match the selector list S,
29452942
counting backwards from the end.
2946-
S is <<compound-selector-list>> [=parsed as a forgiving selector list=].
2943+
S is <<complex-selector-list>> [=parsed as a forgiving selector list=].
29472944
If S is omitted,
29482945
it defaults to ''*|*''.
29492946

@@ -2966,9 +2963,6 @@ Child-indexed Pseudo-classes
29662963
29672964
29682965

2969-
Note: We intend to extend '':nth-last-child()'' to accept <>
2970-
in Level 5.
2971-
29722966

29732967
'':first-child'' pseudo-class
29742968

@@ -4008,6 +4002,8 @@ Changes since the 7 May 2022 Working Draft
40084002
* Removed "absolutize a selector" as well,
40094003
and just defined relative selector matching
40104004
in terms of the anchoring element.
4005+
* Reverted compound selector limitation on '':nth-child()''.
4006+
40114007

40124008

40134009
Changes since the 21 November 2018 Working Draft

0 commit comments

Comments
 (0)