[csswg-drafts] [css-text-decor] Specify a limit for ink-skipping dilation (#6619)

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

== [css-text-decor] Specify a limit for ink-skipping dilation ==
https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property

"The UA must also skip a small distance to either side of the glyph outline."

> _auto_
> UAs may interrupt underlines and overlines where the line would cross glyph ink and to some distance to either side of the glyph outline. UAs should consider the script of the text (see note below) when determining whether to apply ink-skipping behavior to a given range of content.
> _all_
> UAs must interrupt underlines and overlines where the line would cross glyph ink and to some distance to either side of the glyph outline.

I suggest to have a clearer definition of "small distance" and "some distance" to either side and introduce a capping at a maximum in skipping dilation.

See https://github.com/web-platform-tests/wpt/pull/30788#issuecomment-919936075 for an example. If the ink skipping dilation is strictly proportional to the thickness without a limit to the sides, adjacent glyph underlines may completely disappear. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 September 2021 11:12:48 UTC