From 6c1df7c1cb839131c0f90d08a21c6d7935cc4de0 Mon Sep 17 00:00:00 2001 From: Dave Letorey Date: Mon, 25 Nov 2024 11:07:40 +0000 Subject: [PATCH] added ff release notes for :has-slotted (#36864) --- .../firefox/experimental_features/index.md | 40 +++++++++++++++++++ .../mozilla/firefox/releases/133/index.md | 4 ++ 2 files changed, 44 insertions(+) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index d692ebdcd1aa6dd..f88b7a8b865ccb8 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -1202,6 +1202,46 @@ The parts that have been implemented include: +### :has-slotted pseudo-class + +The {{CSSXRef(":has-slotted")}} [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is used to style elements in {{HTMLElement("template")}} that have content added to a {{HTMLElement("slot")}} element when rendering a [web component](/en-US/docs/Web/API/Web_components) ([Firefox bug 1921747](https://bugzil.la/1921747)). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Release channelVersion addedEnabled by default?
Nightly133No
Developer Edition133No
Beta133No
Release133No
Preference namelayout.css.has-slotted-selector.enabled
+ ## SVG ### SVGPathSeg APIs diff --git a/files/en-us/mozilla/firefox/releases/133/index.md b/files/en-us/mozilla/firefox/releases/133/index.md index 46f84b0dbd026ae..b8679dad98ef8d4 100644 --- a/files/en-us/mozilla/firefox/releases/133/index.md +++ b/files/en-us/mozilla/firefox/releases/133/index.md @@ -103,6 +103,10 @@ These features are newly shipped in Firefox 133 but are disabled by default. To The `plaintext-only` value of the [`contenteditable`](/en-US/docs/Web/HTML/Global_attributes/contenteditable) global attribute indicates that the element is editable; rich text formatting is disabled and any formatting in pasted text is automatically stripped. ([Firefox bug 1922723](https://bugzil.la/1922723).) +- **:has-slotted CSS pseudo-class:** `layout.css.has-slotted-selector.enabled`. + + The {{CSSXRef(":has-slotted")}} [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is used to style elements in {{HTMLElement("template")}} that have content added to a {{HTMLElement("slot")}} element when rendering a [web component](/en-US/docs/Web/API/Web_components). ([Firefox bug 1921747](https://bugzil.la/1921747).) + ## Older versions {{Firefox_for_developers}}