Skip to content

Unprefixed text-decoration #724

Closed
Closed

Description

@BenjaminAster

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

Activity

  1. romainmenke commented on Oct 3, 2024

    @romainmenke

    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

  2. kojiishi commented on Oct 29, 2024

    @kojiishi
  3. romainmenke commented on Oct 29, 2024

    @romainmenke

    Thank you @kojiishi
    Yes, seems correct

  4. wpt-interop commented on Feb 13, 2025

    @wpt-interop
    Collaborator

    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!

    Posted on behalf of the Interop team.

  5. added
    accepted
    on Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedfocus-area-proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions