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

> It may just be simpler to say that range restrictions with dimensions require one side to be `0` (optionally with a unit) and the other side to be `∞` or `-∞`.

A percentage can also have a negative basis but I think the related productions do not use ranges.

I had become aware with the problem of validating non-absolute unit and applied the same strategy than for calculation: resolve a non-absolute unit when possible and validate it, otherwise the value is considered to be valid until computed value time. But I'm fine with reverting back to ranges with `0/∞/-∞` for dimensions/percentages.

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


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

Received on Tuesday, 9 August 2022 19:09:53 UTC