Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unprefixed text-decoration #724

Open
BenjaminAster opened this issue Sep 18, 2024 · 3 comments
Open

Unprefixed text-decoration #724

BenjaminAster opened this issue Sep 18, 2024 · 3 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@BenjaminAster
Copy link

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 #702 (comment)). 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

@romainmenke
Copy link

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

@kojiishi
Copy link

kojiishi commented Oct 29, 2024

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
?

@romainmenke
Copy link

Thank you @kojiishi
Yes, seems correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

3 participants