Intent to prototype: :has-slotted pseudo

254 views
Skip to first unread message

Keith Cirkel

unread,
Sep 30, 2024, 7:51:57 AMSep 30
to dev-pl...@mozilla.org

Summary:

  The :has-slotted pseudo class represents a slot element with slotted content, such as a text node or element. This can be used to style elements based on whether or not they are using slot fallback content.

I intend to prototype this out in Gecko.

Bug:

Specification:

Standards Body:
  CSSWG

Platform coverage:
  all.

Preference:
  dom.has_slotted.enabled

DevTools bug:
 n/a.

Link to standards-positions discussion:

Other browsers:
  Blink: Prototyping.


web-platform-tests:
Reply all
Reply to author
Forward
0 new messages