Re: [csswg-drafts] [css-values-5] should 'calc-size(0)' work? (#10354)

Yeah, this is just covered by the existing rules now that the arguments aren't mingled any longer - `calc-size(0, ...)` is valid (equivalent to `0px`, as it's a `<length-percentage>`), while `calc-size(..., 0)` isn't legal (it's a calculation, so a literal zero is taken as a `<number>`, so it resolves to the wrong type).

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


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

Received on Tuesday, 13 August 2024 22:14:08 UTC