Re: [csswg-drafts] [css-color-hdr] How should checking for percentages summing to 0 work in dynamic-range-limit-mix() when calc() is used? (#11678)

I think there could be some ambiguity and/or inconsistency with accepting a sum of 0%:
The proposed solution would compute:
- `mix(a 0%, b 0%)` to be `mix(a 50%, b 50%)`
- `mix(a 0%, b 0%, c 0%)` to be `mix(a 33%, b 33%, c 33%)`
However, since we have the other kind of equivalence `mix(a 50%, b 50%) == mix(a 50%, b 50%, c 0%)`, it would be consistent that `mix(a 0%, b 0%) == mix(a 0%, b 0%, c 0%)`, and now we have a conflict as they result in something different!
(Or did I miss some detail?)

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


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

Received on Monday, 10 February 2025 21:59:27 UTC