Skip to content

Commit cdda267

Browse files
committed
[selectors-4] Return :has() to using <relative-selector-list> rather than *-real-*, as we explicitly say :has() can *theoretically* take pseudo-elements.
1 parent 344f573 commit cdda267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selectors-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ The Specificity-adjustment Pseudo-class: '':where()''</h3>
12521252
The Relational Pseudo-class: '':has()''</h3>
12531253

12541254
The relational pseudo-class, <dfn id='has-pseudo'>:has()</dfn>,
1255-
is a functional pseudo-class taking a <<relative-real-selector-list>> as an argument.
1255+
is a functional pseudo-class taking a <<relative-selector-list>> as an argument.
12561256
It represents an element if any of the <a>relative selectors</a>
12571257
would match at least one element
12581258
when [=anchor element|anchored against=] this element.

0 commit comments

Comments
 (0)