Skip to content

Commit d404287

Browse files
authored
update has-slotted to match flattened slottables (#11511)
1 parent 680afde commit d404287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-scoping-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ Matching on the Presence of Slot-Assigned Nodes: the '':has-slotted'' pseudo-cla
513513

514514
The <dfn selector>:has-slotted</dfn> pseudo-class
515515
matches <{slot}> elements
516-
which have a non-empty list of <a lt="find slottables">slotted nodes</a>.
516+
which have a non-empty list of <a lt="find flattened slottables">flattened slotted nodes</a>.
517517

518518
When '':has-slotted'' matches a slot with fallback content,
519519
we can conclude that the fallback content is <em>not</em> being displayed.

0 commit comments

Comments
 (0)