- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 23 Mar 2021 02:04:32 +0000
- To: public-css-archive@w3.org
I agree that treating `hsl(calc(0deg/0), ...)` as an achromatic color is probably confusing. OTOH if we do not, how does that interpolate? Does it get converted to Infinity? What hue even is Infinity? > In what situation, precisely, is a color with undefined hue exposed to the author, in such a way that they can actually see the "undefinedness" represented in the value? I pointed to all the places where undefined hue seems to be capable of occurring, and as far as I can tell, by the time a value actually gets out to the author, that value always has a defined hue. Chris already gave you an example where the missing hue needs to be exposed: Converting any achromatic Lab color (e.g. `lab(50 0 0)`) to LCH. Regardless, I think the ability of authors being able to define color components as missing to have them automatically take the other color's value is quite useful. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6107#issuecomment-804527197 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 23 March 2021 02:04:34 UTC