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

Thank you @svgeesus,

However this question is less about `none` as it is (implicitly) converted to a different or the same color space. It is more about the typings of the channel keywords and how these are processed.

So the question is if these are the same or not:
```
hsl(from hsl(none 50% 50%) h s l)
hsl(from hsl(none 50% 50%) calc(h) s l)
```

The first `h` arguably doesn't have a math expression so `h` could remain `none`.

While the second does and therefor matches this phrase:

> However, if calculations are done on missing values, [`none`](https://drafts.csswg.org/css-color-4/#valdef-color-none) is treated as `0`.



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


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

Received on Friday, 12 April 2024 20:59:48 UTC