[css-color-5] Out of range percentages in color-mix()
seem to be implemented incorrectly in every major browser?
#10477
Labels
css-color-5
Color modification
Uh oh!
There was an error while loading. Please reload this page.
The spec says that percentages outside [0%, 100%] make
color-mix()
invalid:However, in my testing, browsers seem to handle this differently based on whether the percentage is the result of a calculation or not, which seems absurd.
Instead of IACVT, they seem to clamp the result of the calculation to [0%, 100%].
However, given the fact that they’re all interoperable about this behavior, I wonder if I’m missing something?
The text was updated successfully, but these errors were encountered: