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

Ah, you're right, we allow a calculation there currently.

I think we should either disallow bare 0 (as the current spec says) or change the basic from calc-sum to length-percentage (thus requiring a calc() if you want to mix units). I lean towards leaving the spec as-is, so both arguments of the function act like calc() as much as possible, since the function's name is **calc**-size().

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


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

Received on Thursday, 15 August 2024 18:17:01 UTC