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: servo/servo#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.
https://drafts.csswg.org/css-text-decor-4/#text-decoration-thickness-property says this for lengths and percentages:
However, I don't see anything similar for
autonorfrom-font.In servo this means that the thickness can get below 1px and not be painted: servo/servo#29668
I think it would be good to do that for all values, not just lengths and percentages.
L3 doesn't have
text-decoration-thicknessand leaves it up to the UA, but could also round to >= 1device pixels.