Open Bug 1782592 Opened 3 years ago Updated 3 years ago

[css-text-decor] Implement text-decoration-skip-self property, for skipping ancestor decorations (underlines, etc)

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: mozilla-apprentice, Unassigned)

References

Details

A resolution was made for csswg-drafts/#2885.

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

  • RESOLVED: Add text-decoration-skip-self as a longhand of text-decoration-skip, for skipping ancestor decorations.

Discussion.

We're waiting on exact spec text here, but it sounded like it'll be something along the lines of fantasai's proposal at https://github.com/w3c/csswg-drafts/issues/2885#issuecomment-1117817225

text-decoration-skip-self: auto | skip | no-skip
inherited: no

where

auto - skip if this element is an atomic inline
skip - skip this element
no-skip - don't skip this element, even if it's an atomic inline (draw over/under it just like it's a character)

Summary: [css-text-decor] How to use decoration skipping to turn off underlines? → [css-text-decor] Implement text-decoration-skip-self property, for skipping ancestor decorations (underlines, etc)
You need to log in before you can comment on or make changes to this bug.