We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ceab0 commit 842b6a9Copy full SHA for 842b6a9
selectors-4/Overview.bs
@@ -1194,6 +1194,8 @@ The Relational Pseudo-class: '':has()''
1194
would match at least one element
1195
when [=anchor element|anchored against=] this element.
1196
1197
+ '':has()'' pseudo-class cannot be nested; '':has()'' is not valid within '':has()''.
1198
+
1199
1200
For example, the following selector matches only
1201
<a> elements that contain an <img> child:
@@ -1219,7 +1221,6 @@ The Relational Pseudo-class: '':has()''
1219
1221
which contains anything that's not a heading element.
1220
1222
1223
-
1224
1225
Elemental selectors
1226
0 commit comments