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

Tab, `cross-fade()` does compositing, not interpolation. `color-mix()` is currently defined in terms of interpolation, and that affects a lot of the design decisions around it. If you think it should be performing compositing instead, we could discuss that change in a separate issue (and potentially change the default color space to a linear light one that is more appropriate for compositing). However, until such a change is made, the underlying model is interpolation, with everything that comes with it, good and bad.

The percentages on both values are merely syntactic sugar to avoid authors having to manually subtract from 100%. It's still only one percentage really.

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


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

Received on Friday, 5 March 2021 17:07:36 UTC