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

One more gotcha: consider

```css
--one: color(sRGB 0.7 0.4 0.2 / none);
--two: color(display-p3 0.8 0.7 0.4 / none);
```

both are missing alpha values:

> If both colors are [missing](https://drafts.csswg.org/css-color-4/#missing-color-component) a given component, the interpolated color will also be missing that component.

Spec is missing some text to clarify that, when these two colors are converted to the interpolation color space, those two `none` values do not get converted to zero but must be preserved. Otherwise, the interpolated result will be fully transparent (alpha of zero) not alpha of `none`.

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


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

Received on Saturday, 30 July 2022 13:09:41 UTC