Skip to content

Commit

Permalink
update has-slotted to match flattened slottables (#11511)
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus authored Jan 22, 2025
1 parent 680afde commit d404287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-scoping-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ Matching on the Presence of Slot-Assigned Nodes: the '':has-slotted'' pseudo-cla

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

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

0 comments on commit d404287

Please sign in to comment.