Re: [csswg-drafts] [mediaqueries-5] Type checking math functions resolving to a feature dimension value (#11765)

Right, sorry, `<dimension>` does not expand to these types. Each of these is a `<dimension>`.

My point is that for an input `calc(1px) < width`, a CSS parser processing the grammar would first see `<number>` and fail to get a match, then try to replace it with a math function but fail to match its numeric type, then see `<dimension>` and fail to get a match and is not allowed to replace it with a math function.

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


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

Received on Tuesday, 25 February 2025 04:06:36 UTC