Re: [csswg-drafts] [css-color] Resolving color-mix() (#7302)

> Another open question: what should we do for negative calc values? 

Hmm. I thought that was already covered:

> Percentages are required to be in the range 0% to 100%. Negative percentages are specifically disallowed. 

But then the list of steps for percentage normalization doesn't say what to do if they happen anyway. It needs a new step between 4 and 5 where any value < 0% gets clamped to 0%, and any value > 100% gets clamped to 100%

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


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

Received on Friday, 14 October 2022 17:16:34 UTC