Contact emails chrom...@keithcirkel.co.uk
Explainer https://drafts.csswg.org/css-scoping/#the-has-slotted-pseudo Specification https://drafts.csswg.org/css-scoping/#the-has-slotted-pseudo Summary The :has-slotted pseudo-class matches `slot <https://html.spec.whatwg.org/multipage/scripting.html#the-slot-element>` elements which have a non-empty list of slotted nodes <https://dom.spec.whatwg.org/#find-slotables>. Blink component Blink>CSS <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM> Motivation It's common to want to style slot elements based on whether or not the default slotted content is rendered. Currently this requires scripting to check. :has-slotted makes it possible to do this in CSS alone. Initial public proposal https://drafts.csswg.org/css-scoping/#the-has-slotted-pseudo TAG review None TAG review status Pending Risks Interoperability and Compatibility None *Gecko*: No signal *WebKit*: No signal *Web developers*: Positive *Other signals*: WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? None Debuggability None Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>? No Flag name on chrome://flags Experimental Web Platform Features Finch feature name None Non-finch justification None Requires code in //chrome? False Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5134941143433216 -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/977a63ee-1660-4d3b-ae86-aa5eebaf3b65%40app.fastmail.com.