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

I don't agree the 3rd is the most useful, but I might be missing the utility :)
For it to be useful it needs to have an observable effect and I can only imagine this case :

```
color-mix(in hsl, hsl(from hsl(none 50% 50%) calc(h + 20) s l), hsl(50deg 50% 50%))
```

That is an interpolation between :

- `hsl(from hsl(none 50% 50%) calc(h + 20) s l)`
- `hsl(50deg 50% 50%)`

I think it would be a stretch if `none` in `calc(h + 20)` was preserved as `calc(none + 20)` and actually had an observable effect in the interpolation.

I am not even sure what such an effect might be.

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10151#issuecomment-2052577185 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 21:31:53 UTC