Re: [csswg-drafts] [css-color-4] hue interpolation `longer` when `hue` components are missing (#9224)

> The algorithms also don't account for either angle possible being `missing`.

I believe they do:

>> If a color with a carried forward [missing component](https://drafts.csswg.org/css-color-4/#missing-color-component) is interpolated with another color which is not missing that component, the missing component is treated as having the other color’s component value.

>> Therefore, the carrying-forward step must be performed before any [powerless component](https://drafts.csswg.org/css-color-4/#powerless-color-component) handling.

Thus:
- one missing hue - takes the hue from the other color
- two missing hues: both become zero because of powerless component handling

So by the hue fixup stage, there are only numerical values of hue; no `none` remain.

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


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

Received on Monday, 2 October 2023 19:56:32 UTC