Re: [csswg-drafts] [css-color-4] Missing info about Premultiplication and Undefined values (#7536)

From a quick skim of the issue, here's what I see, correct me if I'm wrong:

Regardless of which components can have `none` values, when we're interpolating a color with `none` components into another color space, we have a problem. How will we handle e.g. `hsl(none 0% 50%)` when interpolated `in srgb` or literally any other color space that is not `hsl`? Are we going to now have entire expressions involving `none` values? Will we just coerce it to `0` and lose the noneness?

I wonder if it would be better to go back to just handling achromatic colors specially in the interpolation algorithm rather than have undefined components, even though undefined components is a more elegant solution...

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


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

Received on Sunday, 31 July 2022 12:33:23 UTC