Skip to content

Commit

Permalink
[selectors-4] Disallow nesting :has() inside :has(). w3c#6952
Browse files Browse the repository at this point in the history
  • Loading branch information
byung-woo committed Jun 9, 2022
1 parent a6ceab0 commit 7c398cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,7 @@ The Relational Pseudo-class: '':has()''</h3>
which contains anything that's not a heading element.
</div>

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

<h2 id="elemental-selectors">
Elemental selectors</h2>
Expand Down

0 comments on commit 7c398cc

Please sign in to comment.