- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Feb 2025 19:16:36 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] How should checking for percentages summing to 0 work in color-mix() when calc() is used? == I filed a related issue for `dynamic-range-limit-mix()`, https://github.com/w3c/csswg-drafts/issues/11678, but the same issue exists for `color-mix()`. In the "percent normalization" algorithm, https://drafts.csswg.org/css-color-5/#color-mix-percent-norm, step 5 states: ``` 5. If the percentages sum to zero, the function is invalid. ``` What should happen in the case that the percentages are `calc()` values? That is, what does it mean for the function to be invalid at style building / computed-value time? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11714 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 February 2025 19:16:37 UTC