Re: [csswg-drafts] [css-values]: Express conditional values in a more terse way (#5009)

> I think an invalid index would instead be a parse failure

For consistency with `calc()` & friends I think I would expect this to be addressed like in https://drafts.csswg.org/css-values/#calc-type-checking

> the value resulting from an expression must be clamped to the range allowed in the target context.
> Additionally, if a math function that resolves to `<number>` is used somewhere that only accepts `<integer>`, the computed value and used value are rounded to the nearest integer

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

Received on Friday, 8 May 2020 00:35:06 UTC