Re: [csswg-drafts] [css-color-4] Clarify that `none` is preserved in calculations (#10211)

> Minor note: when updating the spec, I recommend changing the wording of § 4.4. Specifically:
> 
> > For handling of [missing component](https://www.w3.org/TR/css-color-4/#missing-color-component) in color interpolation, see [§ 12.2 Interpolating with Missing Components](https://www.w3.org/TR/css-color-4/#interpolation-missing).
> > For all other purposes, a [missing component](https://www.w3.org/TR/css-color-4/#missing-color-component) behaves as a zero value, in the appropriate unit for that component: `0`, `0%`, or `0deg`.
> 
> This strongly implies that `none` should be converted to zero eagerly when any procedure accesses it, which it sounds like is no longer the case with this update.

Nice catch!!

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


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

Received on Saturday, 27 April 2024 02:15:14 UTC