Skip to content

Commit

Permalink
added ff release notes for :has-slotted (#36864)
Browse files Browse the repository at this point in the history
  • Loading branch information
dletorey authored Nov 25, 2024
1 parent 9c24b1f commit 6c1df7c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
40 changes: 40 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,46 @@ The parts that have been implemented include:
</tbody>
</table>

### :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)).

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version added</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>layout.css.has-slotted-selector.enabled</code></td>
</tr>
</tbody>
</table>

## SVG

### SVGPathSeg APIs
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/mozilla/firefox/releases/133/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 6c1df7c

Please sign in to comment.