Intent to Ship: CSS text-decoration-inset

367 views
Skip to first unread message

Helmut Januschka

unread,
Aug 23, 2026, 9:43:33 AMAug 23
to blink-dev
Contact emails
hjanu...@gmail.com

Specification
https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-inset

Summary
CSS text-decoration-inset controls how far underlines, overlines, and line-through decorations are inset from or extended beyond text run edges. It supports auto, length, and percentage values, including one-value and two-value syntax for setting the start and end offsets. This lets developers adjust decoration spacing and create reveal effects with native text decorations instead of background gradients or additional elements. 

sampler: https://static.januschka.com/i-468928416/?asddsaasd 



CL: https://chromium-review.googlesource.com/c/chromium/src/+/7748204

Blink component
Blink>CSS

Web Feature ID
text-decoration

Motivation
This change implements CSS text-decoration-inset (CSS Text Decoration Level 4), including percentage values. It gives authors direct control over decoration inset and reduces the need for wrapper/pseudo-element workarounds used to fine-tune underline/overline/line-through rendering. 


Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Goals for experimentation
None

Risks


Interoperability and Compatibility
No information provided

Gecko: No signal

WebKit: No signal

Web developers: No signals

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?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No

Is this feature fully tested by web-platform-tests?
Yes


Flag name on about://flags
No information provided

Finch feature name
CSSTextDecorationInset

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/468928416

Estimated milestones
Shipping on desktop154
Shipping on Android154
Shipping on WebView154
Shipping on iOS154


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

No information provided

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5178263526834176?gate=6555321377095680

Links to previous Intent discussions
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8fad03d3-9a94-46bd-abbe-6da8ce433074n%40chromium.org


This intent message was generated by Chrome Platform Status.

Mike Taylor

unread,
Aug 24, 2026, 9:35:38 AMAug 24
to Helmut Januschka, blink-dev
Can we please request signals?

Web developers: No signals

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?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No
Say more?
--
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+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFmjHKQO5WSkhWocqeaJ7mWV65zzEYT27GCJmiEqjY-E9AwWpw%40mail.gmail.com.

Sebastian Zartner

unread,
Aug 24, 2026, 4:40:16 PMAug 24
to blink-dev, mike...@chromium.org, blink-dev, hjanu...@gmail.com
Mozilla has already shipped support for text-decoration-inset in Firefox 146, see https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/146#css, though they are currently still working on support for percentages.
Safari also recently implemented it in https://bugs.webkit.org/show_bug.cgi?id=319178, see also https://webkit.org/css-status/?#property-text-decoration-inset. Though, as far as I could see, they are also currently lacking support for percentages, so I just filed https://bugs.webkit.org/show_bug.cgi?id=322441 for that.
Neither Apple nor Mozilla published standards positions for that feature, though.

Sebastian

Helmut Januschka

unread,
Aug 24, 2026, 5:54:31 PMAug 24
to blink-dev, sebastia...@gmail.com, mike...@chromium.org, blink-dev, Helmut Januschka
@sebastian, thanks for the input.

@mike, sorry it was my fault for sure it works on all blink platforms, i just messed up the checkbox, allthough i went through all fields multiple times - i'll do better next time :/ 

Mike Taylor

unread,
Aug 24, 2026, 8:16:32 PMAug 24
to Helmut Januschka, sebastia...@gmail.com, blink-dev

On 8/24/26 5:54 p.m., Helmut Januschka wrote:

@sebastian, thanks for the input.

Yes, thanks Sebastian! 

Helmut, do you mind updating the Chromestatus entry to reflected Shipped/Shipping, perhaps adding a Note about percentages?


@mike, sorry it was my fault for sure it works on all blink platforms, i just messed up the checkbox, allthough i went through all fields multiple times - i'll do better next time :/ 

No worries - very simple mistake, and easy to fix. :)

One question on WPTs: do we expect the failures at https://wpt.fyi/results/css/css-animations/text-decoration-inset-auto.html?

(I think the rest of the tests are at https://wpt.fyi/results/css/css-text-decor?label=master&label=experimental&aligned&q=text-decoration-inset - which looks good)

Helmut Januschka

unread,
Aug 25, 2026, 1:36:39 PMAug 25
to blink-dev, mike...@chromium.org, sebastia...@gmail.com, blink-dev, Helmut Januschka
@mike: feature entry updated and  the missing WPT is addressed as a follow up in in: https://chromium-review.googlesource.com/c/chromium/src/+/8277832 (in review) 

Mike Taylor

unread,
Aug 26, 2026, 11:11:06 AMAug 26
to Helmut Januschka, blink-dev, sebastia...@gmail.com

Thanks Helmut.

LGTM1 to ship, assuming we land animation support.

Vladimir Levin

unread,
Aug 26, 2026, 11:14:14 AMAug 26
to blink-dev, Mike Taylor, sebastia...@gmail.com, hjanu...@gmail.com
LGTM2

Chris Harrelson

unread,
Aug 26, 2026, 11:16:57 AMAug 26
to Vladimir Levin, blink-dev, Mike Taylor, sebastia...@gmail.com, hjanu...@gmail.com
LGTM3, conditioned on landing animation support before shipping.

--
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+...@chromium.org.

Helmut Januschka

unread,
Sep 14, 2026, 3:18:00 PMSep 14
to blink-dev, Chris Harrelson, blink-dev, mike...@chromium.org, sebastia...@gmail.com, Helmut Januschka, vmp...@chromium.org

animation support has now landed:
https://chromium-review.googlesource.com/c/chromium/src/+/8277832

This implements the CSSWG resolution: auto remains auto, resolves to the UA-chosen length when interpolated with a length, and auto-to-auto remains auto. WPT coverage is included.

The remaining CSSWG work is to clarify the detailed animation and transition behavior in the specification:
https://github.com/w3c/csswg-drafts/issues/13036#issuecomment-5456514408

Chromium and Firefox currently behave consistently for these cases. With the animation CL landed, is everyone fine with proceeding to default-on it?

sorry that it took so long, and thanks for the guidance!

cheers

​

Chris Harrelson

unread,
Sep 14, 2026, 3:20:33 PMSep 14
to Helmut Januschka, blink-dev, mike...@chromium.org, sebastia...@gmail.com, vmp...@chromium.org

Sebastian Zartner

unread,
Sep 14, 2026, 5:11:00 PMSep 14
to Helmut Januschka, blink-dev, Chris Harrelson, mike...@chromium.org, vmp...@chromium.org
Thank you, Helmut!

I've now requested an async resolution on your proposed clarification of the spec regarding animation and transition behavior.

Sebastian

Helmut Januschka

unread,
Sep 28, 2026, 5:01:05 PMSep 28
to blink-dev, sebastia...@gmail.com, blink-dev, Chris Harrelson, mike...@chromium.org, vmp...@chromium.org, Helmut Januschka
spec has been cleard, landing flag-flip now! :)  thank you!
Reply all
Reply to author
Forward
0 new messages