Re: [csswg-drafts] [css-values-4] Should progress() functions clamp to 0-100%? (#11825)

> they can easily set a wider range

What do you mean? Let's say I want to know how far `var(--x)` is from 100px, compared with 200px. So for `--x: 300px` I expect 200% since it's twice as far. What wider range should I use?

It seems to me that the opposite is true: if the result is not clamped and you want it clamped, you can trivially clamp it with `clamp()`. But if the result is clamped and you don't want it clamped, then `progress()` is basically useless.

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


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

Received on Tuesday, 20 May 2025 00:58:03 UTC