Re: [csswg-drafts] [css-text-decor-4] Allow percentages in `text-decoration-trim` (#8403)

If we have a property to control the size, then we need another property to control the position/aligment. Because several people will want it centered, several people will want it aligned to the start, several to the end, and some people will want other things.

It could be something like `background-position`, where 50% means center, 0% means left/start, 100% means right/end. And also combinations of `<length-percentage>` with side references, like `start 10px` or `end 10px`.

I agree with @jfkthame that this approach doesn't seem to allow constant-speed animations.

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


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

Received on Thursday, 30 October 2025 02:35:21 UTC