Re: [csswg-drafts] [css-text-decor-4] Default end value of `text-decoration-trim` when a single length is specified? (#9340)

> The property name includes _"trim"_ so it may be suprising that the line decoration is actually _shifted_ when a value is omitted. And authors might think that the first value trims to the left, and the second to the right.

But it's _not_ shifted when a value is omitted. With a single positive value, it's trimmed (shortened) at both ends; with a single negative value it's "negatively trimmed" (i.e. extended) at both ends.

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9340#issuecomment-3168265375 using your GitHub account


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

Received on Friday, 8 August 2025 15:12:04 UTC