CSS3 Text Decoration properties have been unprefixed, text-decoration becomes a shorthand

Published: | Categories: CSS


The text-decoration property is now compatible with CSS3 Text Decoration Module Level 3, and the following properties defined in the spec are now unprefixed: text-decoration-line, text-decoration-color and text-decoration-style. text-decoration has become a shorthand property but will behave as before like CSS 2.1 as if both text-decoration-color and text-decoration-style are the initial values. The prefixed -moz-text-decoration-* properties are still supported, but will be removed in a few releases.

Update: Those prefixed properties have been removed with Firefox 40.