Re: [csswg-drafts] [css-values-5] A more complete syntax definition for `calc-size()` to also cover the `size` keyword (#13158)

I don't see how we can add `size` to the actual grammar of the function without repeating the entirety of the math-function grammar (and keeping it in sync forevermore). I don't want to have a syntax special-case that just talks about top-level `size` and thus implies-by-omission that you can't use `size` elsewhere.

This same issue applies to, say, relative color syntax, which adds function-specific color-channel keywords to the `<calc-keyword>` production.

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


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

Received on Friday, 27 March 2026 21:09:06 UTC