W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

[csswg-drafts] [css-text-decor] Define how text-decoration-skip{, -ink} interacts with text-decoration

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 Jun 2018 23:16:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-335601167-1529968563-sysbot+gh@w3.org>
upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-decor] Define how text-decoration-skip{,-ink} interacts with text-decoration ==
`text-decoration` style properties are non-inherited (as they should), while `text-decoration-skip` and `text-decoration-skip-ink` are inherited (as they should as well).

They are all fine in themselves, but there would be a problem on how they should interact, or more specifically, should the "skip" behavior of a text decoration line come from the element where the text is in, or from the element where the decoration line is originated from?

For example, something like
div {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
span {
    text-decoration-skip-ink: none;
<div>For <span>example</span></div>

should "example" have ink skipping?

Note that, current implementations of `text-decoration-skip-ink` (WebKit and Blink) don't support non-inherited text decoration, and thus they may not have this confusion at the moment. But since we want non-inherited text decoration, so it's worth making clear in the spec.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2817 using your GitHub account
Received on Monday, 25 June 2018 23:16:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 08:16:44 UTC