Re: [csswg-drafts] [css-color-4] Inconsistent results with `none` and interpolation color spaces. (#8563)

So I believe the [spec is now clear](https://drafts.csswg.org/css-color-4/#missing):

> In certain cases, a color can have one or more missing color components.

> In this specification, this happens automatically due to [hue-based interpolation](https://drafts.csswg.org/css-color-4/#hue-interpolation) for some colors (such as [white](https://drafts.csswg.org/css-color-4/#valdef-color-white)); other specifications can define additional situations in which components are automatically missing.

> It can also be specified explicitly, by providing the keyword none for a component in a color function. All color functions (with the exception of those using the [legacy color syntax](https://drafts.csswg.org/css-color-4/#legacy-color-syntax)) allow any of their components to be specified as [none](https://drafts.csswg.org/css-color-4/#valdef-color-none).

> This should be done with care, and only when the particular effect of doing so is desired.

> For handling of [missing component](https://drafts.csswg.org/css-color-4/#missing-color-component) in color interpolation, see [ยง 12.2 Interpolating with Missing Components](https://drafts.csswg.org/css-color-4/#interpolation-missing).

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


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

Received on Monday, 29 January 2024 15:05:36 UTC