You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-text-decor-4] Computed value of text-decoration-thickness #10044
According to the current draft, the computed value of text-decoration-thickness is "specified keyword or absolute length", which implies that percentages must be resolved to lengths in the computed value.
This seems to be at odds with the note just below, which says that
A percentage will inherit as a relative value, and will therefore scale with changes in the font as it inherits.
If percentages were retained in the computed value, this would occur naturally, but with the computed value being an absolute length, inheritance seems to be a special case.
Activity
Loirooriol commentedon Mar 8, 2024
https://drafts.csswg.org/css-text-decor-4/#text-decoration-thickness-property
[css-text-decor-4] Fix error wrt percentages in Computed Value lines #…
fantasai commentedon Mar 8, 2024
Fixed, thanks!
jfkthame commentedon Mar 8, 2024
Thanks. Does it follow that the animation test at https://wpt.live/css/css-text-decor/animations/text-decoration-thickness-interpolation.html is incorrect, and should expect to see percentage values (when interpolating between percentages)?