Skip to content

Commit 7c398cc

Browse files
committed
[selectors-4] Disallow nesting :has() inside :has(). #6952
1 parent a6ceab0 commit 7c398cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

selectors-4/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,7 @@ The Relational Pseudo-class: '':has()''
12191219
which contains anything that's not a heading element.
12201220
12211221

1222+
'':has()'' pseudo-class cannot be nested; '':has()'' is not valid within '':has()''.
12221223

12231224

12241225
Elemental selectors

0 commit comments

Comments
 (0)