BASELINE NowYouCanUse.com
Limited Availability Selectors

:has-slotted

The :has-slotted CSS pseudo-class matches <slot> elements where the fallback content is not shown. The pseudo-class matches any slotted content, including white space, text nodes, or elements.
Baseline Status: This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Mar 4, 2025.
Desktop Browser Engine Support
Google Chrome
—
Unsupported
Mozilla Firefox
136
Supported
Apple Safari
—
Unsupported
Microsoft Edge
—
Unsupported
Mobile Browser Engine Support
Chrome Android
—
Firefox Android
136
Safari iOS
—
Specifications and References
id: has-slotted