You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text-decoration CSS property still needs a -webkit- prefix in WebKit when specifying multiple values in the shorthand.
There exists an open pull request for WebKit, and the implementation seems to already match the spec pretty well (?). (see bug)
This issue is one of seven issues regarding unprefixing CSS properties/values, originally all in #702 (as per #702 (comment)). The aim is to group the properties together into multiple (but not seven) focus areas.
Reacted by John P. Green, Christopher Kirk-Nielsen, Oliver Williams, Nilesh Prajapati, Michal Čaplygin, Ahmad Saleem, James Heppell, Nir Lahad, Vladimir Agafonov, Shalanah Dawson and 9 more
This specific property is especially annoying because it became a shorthand.
text-decoration: underline also resets text-decoration-color to the initial value, but only in browsers that have been updated. -webkit-text-decoration does behave as a shorthand.
Thank you for proposing Unprefixed text-decoration for inclusion in Interop 2025.
We are pleased to let you know that this proposal was accepted as part of the text-decoration focus area. You can follow the progress of this focus area on the Interop 2025 dashboard.
For an overview of our process, see proposal selection. Thank you for contributing to Interop 2025!
Activity
romainmenke commentedon Oct 3, 2024
This specific property is especially annoying because it became a shorthand.
text-decoration: underlinealso resetstext-decoration-colorto the initial value, but only in browsers that have been updated.-webkit-text-decorationdoes behave as a shorthand.Relevant WPT tests: https://wpt.fyi/results/css/css-text-decor?label=master&label=experimental&aligned&q=text-decoration
kojiishi commentedon Oct 29, 2024
Since this topic is talking about the
text-decorationshorthand, shouldn't the relevant WPT tests be: https://wpt.fyi/results/css/css-text-decor/parsing?label=experimental&label=master&aligned&q=text-decoration?
romainmenke commentedon Oct 29, 2024
Thank you @kojiishi
Yes, seems correct
wpt-interop commentedon Feb 13, 2025
Thank you for proposing Unprefixed
text-decorationfor inclusion in Interop 2025.We are pleased to let you know that this proposal was accepted as part of the text-decoration focus area. You can follow the progress of this focus area on the Interop 2025 dashboard.
For an overview of our process, see proposal selection. Thank you for contributing to Interop 2025!
Posted on behalf of the Interop team.