Re: [csswg-drafts] [css-color-4] `rgba()` is legacy so does not support `none`. Right? (#7900)

**Aside**

Chrome also serializes `none` to `0` in `hwb()` but the spec wants this only for legacy syntaxes.

> If a color with a missing component is serialized or otherwise presented directly to an author, then for legacy color syntax it represents that component as a zero value; otherwise, it represents that component as being the `none` keyword.

I guess the reason to serialize `none` to `0` in legacy syntaxes is back-compat but can you please clarify me how?

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


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

Received on Friday, 13 January 2023 10:27:21 UTC