Re: [csswg-drafts] [css-color-5] How should negative percentages behave in color-mix()? (#6047)

Interpolating is not mixing paints. Sometimes that mental model works, but not always. There is a well-defined meaning of values out of range when interpolating, so there *is* something reasonable we could do here. Whether that's also *useful* is another question and I have no strong opinions on that.

If we don't allow percentages outside 0-100%, I wonder if we can make them invalid at parse time. Silently clipping them means there is zero feedback for authors to realize that something is off so I don't think it's a good idea.

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


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

Received on Thursday, 4 March 2021 00:29:47 UTC