Re: [csswg-drafts] [css-color-4] Achromatic colors converted to hue-ish spaces should treat hue as "missing", not NaN (#6107)

> On the other hand, `hsl(none 50% 100%)` is... red, for some reason. 

And `lch(50% 75 none)` is a magenta, `rgb(88.1% 8% 48.1%)`

> So does it make sense to limit the scope of none to only be valid in powerless slots? I appreciate this would be dialing it back a lot. 

That would be reasonable (RGB components are not powerless, for example) but is sketchy in edge cases. Is hue powerless in `lch(50% 0 none)`? Yes. In `lch(50% 10 none)`? No. In `lch(50% 0.5 none)`? Maybe; it is visible, but only just.

![image](https://user-images.githubusercontent.com/2506926/136791441-72a8d0ba-90a5-4b5c-8a07-2d34ac1f802d.png)


> Or, conversely, accept the glitchiness of some contexts?

That could also be a reasonable outcome ("not all uses of `none` make sense")

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


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

Received on Monday, 11 October 2021 12:42:07 UTC