Skip to content

Commit 68c5f97

Browse files
chrisdavidmillsbsmthgithub-actions[bot]
authored
Add text-decoration-trim experimental feature entry (mdn#41665)
* Add text-decoration-trim experimental feature entry * Add paragraph to Fx145 rel notes experimental section * Update files/en-us/mozilla/firefox/releases/145/index.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Brian Smith <brian@smith.berlin> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent abe59ef commit 68c5f97

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

files/en-us/mozilla/firefox/experimental_features/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,20 @@ The {{CSSXRef(":heading")}} pseudo-class allows you to style all [heading elemen
350350
- `layout.css.heading-selector.enabled`
351351
- : Set to `true` to enable.
352352

353+
### `text-decoration-trim`
354+
355+
The CSS `text-decoration-trim` property allows you to specify {{cssxref("text-decoration")}} start and end offsets to shorten, lengthen, or shift the position of text decorations with respect to the text ([Firefox bug 1979915](https://bugzil.la/1979915)).
356+
357+
| Release channel | Version added | Enabled by default? |
358+
| ----------------- | ------------- | ------------------- |
359+
| Nightly | 145 | No |
360+
| Developer Edition | 145 | No |
361+
| Beta | 145 | No |
362+
| Release | 145 | No |
363+
364+
- `layout.css.text-decoration-trim.enabled`
365+
- : Set to `true` to enable.
366+
353367
## SVG
354368

355369
**No experimental features in this release cycle.**

files/en-us/mozilla/firefox/releases/145/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,8 @@ You can find more such features on the [Experimental features](/en-US/docs/Mozil
112112
Nightly builds now support [CSS anchor positioning](/en-US/docs/Web/CSS/CSS_anchor_positioning) by default, which allows you to tether elements together.
113113
The anchor-positioned elements can then have their size and position set relative to the size and location of the anchor elements to which they are bound.
114114
(General: [Firefox bug 1988224](https://bugzil.la/1988224), `position-area`: [Firefox bug 1924086](https://bugzil.la/1924086)).
115+
116+
- **text-decoration-trim**: `layout.css.text-decoration-trim.enabled`
117+
118+
The CSS `text-decoration-trim` property is supported but currently disabled by default.
119+
It allows you to specify {{cssxref("text-decoration")}} start and end offsets to shorten, lengthen, or shift the position of text decorations with respect to the text ([Firefox bug 1979915](https://bugzil.la/1979915)).

0 commit comments

Comments
 (0)