Re: [csswg-drafts] [css-values] Range restrictions with units are unclear (#7584)

For numbers and units that are all canonically equivalent, any value makes sense. For lengths and similar, yeah, only 0 and the infinities really makes sense. That said, I don't think anything really needs to be changed in the spec, per se - we just need to not specify length ranges like that. (And it's possible that some contexts are fine to do it, like lengths in MQs where all allowed units *are* convertable at parse time.)

But we should indeed update the example to use `<angle>` instead of `<length>`.

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


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

Received on Monday, 10 October 2022 18:34:05 UTC