← 返回首页
[css-text-decor] How to use decoration skipping to turn off underlines? · Issue #2885 · w3c/csswg-drafts · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[css-text-decor] How to use decoration skipping to turn off underlines? #2885

New issue
New issue

Description

https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-skip

During the Sydney F2F, there was an assertion that the text-decoration-skip-* properties can be used to turn off underlining on a particular element. However, I don’t see any value to text-decoration-skip that seems relevant. (The spec hasn’t been updated to break out each of these values into their own properties)

  • none skips nothing, which is the opposite of what I want
  • objects only skips atomic inlines, but I want to turn off the underline on arbitrary content
  • spaces, leading-spaces, and trailing-spaces only skips whitespace, but I want it to skip arbitrary text content
  • edges only insets the underline slightly, rather than skipping over entire elements
  • box-decoration also isn’t what I want

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Monday

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Footer

      © 2026 GitHub, Inc.