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

It seems pretty clear to me (though arguably could be made more explicit) that the intent of the spec is that if only a single `<length>` value is specified, it applies to both the start and end of the decoration.

This means that a single `<length>` will either _shorten_ (positive) or _lengthen_ (negative) the line at both ends; to _shift_ the line, it will be necessary to provide two values with opposite signs, and to adjust only one side, an explicit zero must be provided for the other.


-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9340#issuecomment-3167259866 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 09:47:16 UTC