w3c / w3c/csswg-drafts

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

Open
#2,885 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Closed Accepted by CSSWG Resolution Commenter Response Pending css-text-decor-4
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS Text Decoration Level 4 text-decoration-skip definition at the linked specification section and review the issue's listed values. Determine whether the specification needs a value or clarification for skipping arbitrary content; done means the intended behavior and required specification change are resolved in the CSSWG discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.