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

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] Should progress() functions clamp to 0-100%? ==
A lot of use cases for the progress functions require clamping the value to 0-100%. Some use cases don't... but the driving use cases generally do.

Should `progress()` clamp to 0-100% by default? It's always possible to get the unclamped result by using `calc()`.

If it doesn't, then authors will need to manually clamp it all the time, which probably gets annoying. `clamp(progress(...), 0%, 100%)`

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11825 using your GitHub account


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

Received on Tuesday, 4 March 2025 23:48:55 UTC