CSS3 Text Decoration specification provides new properties that implements new text decoration styling features such as lines, color and style. As the specification says: "CSS Levels 1 and 2 only defined very basic line decorations (underlines, overlines, and strike-throughs) appropriate to Western typographical traditions. Level 3 of this module adds the ability to change the color, style, position, [...]" This Chromestatus entry consists of the https://drafts.csswg.org/css-text-decor-2

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 57
  • Chrome for Android release 57
  • Chrome for iOS release 57
  • Android WebView release 57

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

Safari ships a prefixed version. For Edge, requested on Uservoice. This status entry applies to the line decorations subsection of the specification. Text-underline-position left, right and multiple value support is currently work in progress.

Search tags

text-decoration, decoration, text, underline, overline, line-through, decoration, color, style, dashed, dotted, wavy,

Last updated on 2020-11-19