Re: [csswg-drafts] [css-images-4] Question: in what color space will gradient interpolation occur? (#6094)

Please forgive me to comment on this closed issue. It is not clear to me what the color interpolation method is when it is not specified in the gradient input argument.

When omitted, my understanding is that color stops interpolates in oklab, even if the color is specified in another color space. Assuming `oklab` is the default method, I would like to know if `in oklab` is should be omitted (according to the shortest serialization principle) when serializing `linear-gradient(in oklab, red, color(display-p3 0 100% 100%))`.

I guess that gradient colors defined in another color space are otherwise gamut mapped in the color interpolation method when it is specified for the gradient.

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


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

Received on Monday, 30 January 2023 10:50:30 UTC