- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Jun 2024 11:46:31 +0000
- To: public-css-archive@w3.org
> > If you agree, then I can add alpha to [12.2. Interpolating with Missing Components](https://drafts.csswg.org/css-color-4/#analogous-components) > > https://codepen.io/romainmenke/pen/LYvvNrb > > This would also affect interpolation but there isn't any interop for `none` alpha. Chrome threats `none` in alpha during interpolation as the alpha of the other color. Safari and Firefox do not. That looks like a bug, if you change it to: ``` background-color: color-mix( in srgb, color(srgb 0.4 0.4 0 / none), color(srgb 0.4 0 0.4 / 0.5) ) ``` Then Firefox does the right thing too. It seems we lose the `none` information when converting the colors for interpolation. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10254#issuecomment-2162804762 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 June 2024 11:46:32 UTC