Re: [csswg-drafts] [css-values] Make top-level NaN be IACVT instead of ∞ (#7067)

That's what I depicted in my 2nd code block, but `calc()` clamps:

> Parse-time range-checking of values is not performed within [math functions](https://drafts.csswg.org/css-values/#math-function), and therefore out-of-range values do not cause the declaration to become invalid. However, the value resulting from an expression must be clamped to the range allowed in the target context.

How did you workaround that without using registered custom properties?

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


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

Received on Tuesday, 5 April 2022 01:53:35 UTC