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

So looking back at

> But if we do what Tab is proposing, how would this "missing" value serialize in Typed OM and the like? It would need to be yet another object, which complicates the object model even more. And eventually we are going to have a Color object for the Web Platform, separate from Typed OM. How is it going to be represented there?

and given that we now have a Typed OM that can represent CSS color syntax, [CSSColorValue](https://drafts.css-houdini.org/css-typed-om/#colorvalue-objects) and a Color API that can represent [Color objects](https://wicg.github.io/color-api/#color-objects), how should this missing value be represented in each of those?

And can missing ever occur in (scriptless) CSS and how does it get represented there? Can I say `lch(50, 1, missing)` and if so what stops me saying `lch(50, 100, missing)` which is not a color?

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


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

Received on Friday, 3 September 2021 17:14:31 UTC