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

Both nones should be preserved. The intent is that none is only converted to 0 when you absolutely need to get a value out of it — this is not one of these cases. For example `hsl(from hsl(none 50% 50%) calc(h + 20) s l)` is an example where you convert to 0, and even for that I’m not sure it was a good idea. In retrospect, it should probably stay none. 
`none` is an *incredibly* useful component value that extends far beyond what we originally invented it for. We need to preserve it whenever possible. 

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10151#issuecomment-2050819686 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 01:45:23 UTC