Re: [csswg-drafts] [css-color-5] Out of range percentages in `color-mix()` seem to be implemented incorrectly in every major browser? (#10477)

You are missing [this](https://drafts.csswg.org/css-values-4/#calc-range):

  > Parse-time range-checking of values is not performed within math functions, and therefore out-of-range values do not cause the declaration to become invalid. However, the value resulting from a top-level calculation must be clamped to the range allowed in the target context.

I think this behavior is mainly needed for relative dimensions (whose computed value may or may not be out of range).

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


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

Received on Thursday, 20 June 2024 11:52:20 UTC