Re: [csswg-drafts] [css-values-4] Specify how to determine the type of a standalone `<dimension>` (#11765)

The issue here is that our use of `<dimension>` is *mostly* just an editorial convenience, to allow us to simply talk about the value without having to enumerate all the possibilities (and keep it in sync as we add more in the future). Really, it should be read as `<length> | <time> | ...` for all recognized types. So we actually want to type-check eagerly, and just take one that matches.

> I think determining the type of a standalone <dimension> is straightforward and should be specified as based on the token unit in 10.9. Type Checking.

Agreed.

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


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

Received on Friday, 20 June 2025 22:07:15 UTC