Re: [csswg-drafts] [css-color-4] Computed value and serialization of `Infinity` and `NaN` in color functions (#8629)

The *behavior* of NaN is specified in <https://drafts.csswg.org/css-values/#top-level-calculation> - it gets censored to 0 when it would escape the calculation tree. It serializes as `NaN`, tho, similar to infinity, at whatever level it's been able to infect to, given the simplification rules and what value stage you're serializing.

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


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

Received on Wednesday, 22 March 2023 18:50:01 UTC