Open BenjaminAster opened 1 month ago
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.
Relevant WPT tests: https://wpt.fyi/results/css/css-text-decor?label=master&label=experimental&aligned&q=text-decoration
Since this topic is talking about the text-decoration
shorthand, shouldn't the relevant WPT tests be: https://wpt.fyi/results/css/css-text-decor/parsing?label=experimental&label=master&aligned&q=text-decoration
?
Thank you @kojiishi Yes, seems correct
Description
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 https://github.com/web-platform-tests/interop/issues/702#issuecomment-2358173009). The aim is to group the properties together into multiple (but not seven) focus areas.
Specification
https://drafts.csswg.org/css-text-decor-4/#text-decoration-property
Additional Signals
No response