Re: [csswg-drafts] [css-color-5] Behavior of `none` in relative color syntax (#10151)

I guess you could rationalize that if "both" chroma and hue are `none`, it is just another way of saying both `a` and `b` are `none`.  You would be saying that `ab` together is analogous with `ch` together, which it is as `ch` is the polar form of `ab`. I'm not huge fan of this, but I could see the argument.

I don't see how either `calc(none + .1)` or `calc(none + 180)` could be preserved in this scenario, they would have to be forced to become a real value. Currently, I think `calc()` would force these to be zero, which would force the final interpolation to yield zeros, not `none` for `a` and `b`.  But if `calc()` was forced to yield `none` for the aforementioned cases, then I guess you could have the return Lab value have `a` and `b` both as `none`. Again, I'm not personally a huge fan of this, but admitting one could argue such a case.

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


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

Received on Monday, 15 April 2024 12:36:15 UTC