Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,8 @@ The Relational Pseudo-class: '':has()''</h3>
would match at least one element
when [=anchor element|anchored against=] this element.

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

<div class='example'>
For example, the following selector matches only
<code>&lt;a></code> elements that contain an <code>&lt;img></code> child:
Expand Down