Intent to Prototype: CSS4 text-decoration-skip-spaces

50 views
Skip to first unread message

Chromestatus

unread,
9:04 AM (2 hours ago) 9:04 AM
to blin...@chromium.org, perry...@gmail.com
Contact emails
perry...@gmail.com

Specification
https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property

Summary
The text-decoration-skip-spaces CSS property controls whether text decoration lines (underlines, overlines, line-throughs, etc.) skip over whitespace characters. This allows authors to prevent decorations from being drawn under spaces, which is often more visually appealing.

Blink component
Blink>CSS

Web Feature ID
text-decoration

Motivation
Currently there is no web standard way to control whether text decorations (underlines, overlines, line-throughs) appear over whitespace characters. Authors commonly want to suppress the underline under leading/trailing spaces in inline elements, but CSS provides no mechanism for this. The `text-decoration-skip-spaces` property fills this gap, allowing precise control over decoration rendering around whitespace. This is useful for navigation menus, links, and any text where the decoration should visually attach only to non-space characters.

Initial public proposal
No information provided

Goals for experimentation
None

Requires code in //chrome?
False

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

Estimated milestones

No milestones specified



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

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages