Re: [csswg-drafts] [css-color] Clarification needed on how missing alpha components flow through relative color syntax for hsl/hwb (#10254)

@romainmenke 
> 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.

I spotted a spec issue that might explain this, [12.2. Interpolating with Missing Components](https://drafts.csswg.org/css-color-4/#interpolation-missing) says

> If the carried forward [missing component](https://drafts.csswg.org/css-color-4/#missing-color-component) is alpha, the color must be [premultiplied](https://drafts.csswg.org/css-color-4/#premultiplied) with this carried forward value, not with the zero value that would have resulted from color conversion.

However, the table of analogous components in that section does not list alpha (it only lists color components).



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


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

Received on Thursday, 17 April 2025 20:49:46 UTC