[csswg-drafts] [css-text-decor] Consider adding an `all` value to `text-decoration-skip-ink` (#4277)

jfkthame has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-decor] Consider adding an `all` value to `text-decoration-skip-ink` ==
With `text-decoration-skip-ink: auto`, ink-skipping is applied to most content, but not to CJK text. This makes sense for common fonts, where the default underline position, designed to work with Latin glyphs, clashes with so many CJK glyphs that skip-ink behavior largely destroys underlining.

This means, however, that it is impossible for an author to specify that they actually *do* want skip-ink behavior to be used with CJK text. This might be desired in cases where the underline position (either specified by the font, or explicitly controlled by the author using `text-underline-offset`) is such that it does *not* clash with most glyphs, but only with occasional exceptionally-deep shapes. With more calligraphic font styles, in particular, the glyphs may not all sit solidly on the same baseline as tends to be the case in square printed styles.

I propose there should be an `all` value (or `always`, or other name to be bikeshedded) for `text-decoration-skip-ink`. The initial value would remain `auto`, so that the browser will do “the right thing” by default, but `all` makes it possible for the author to opt in to ink-skipping behavior even for CJK glyphs where `auto` would disable it.

See the right-hand example here, illustrating how skip-ink behavior might reasonably be applied even to CJK text when using a calligraphic font:

![image](https://user-images.githubusercontent.com/1706499/64248978-80db7780-cf0a-11e9-8bf7-374474e96c4a.png)


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4277 using your GitHub account

Received on Wednesday, 4 September 2019 11:28:57 UTC