[csswg-drafts] Should `text-decoration-thickness: auto` and `from-font` round to device pixels and ensure >= 1px? (#8768)

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

== Should `text-decoration-thickness: auto` and `from-font` round to device pixels and ensure >= 1px? ==
https://drafts.csswg.org/css-text-decor-4/#text-decoration-thickness-property says this for lengths and percentages:

> The UA should round the actual value to the nearest integer device pixel, and ensure it is at least one device pixel.

However, I don't see anything similar for `auto` nor `from-font`.

In servo this means that the thickness can get below 1px and not be painted: https://github.com/servo/servo/issues/29668

I think it would be good to do that for all values, not just lengths and percentages.

L3 doesn't have `text-decoration-thickness` and leaves it up to the UA, but could also round to >= 1device pixels.

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


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

Received on Tuesday, 25 April 2023 20:58:37 UTC