Re: [csswg-drafts] [css-color-4] What if legacy colors *also* interpolated in Oklab by default? (#7948)

> Question: would it be possible to introduce a new CSS property that would set the default interpolation for the colors? Like, `interpolation-color-space` or something?
> 
> This way it would be possible to not break backwards-compat, but anyone who would want to just always use the more modern version, could just put this property in their reset. Something like `:root { interpolation-color-space: oklab; }` if it would be inherited, or `* { … }` otherwise?

It's not that simple, because you typically want a different interpolation color space depending on the use case (e.g. gradients vs transitions vs compositing etc).
I believe there is another issue where we discuss this, but I can't find it now.

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


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

Received on Friday, 17 March 2023 15:45:38 UTC