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

I was thinking about lengths, where values other than 0 and ∞ don't seem to make much sense.

But from #7571, `font-style` accepts `oblique <angle [-90deg,90deg]>?`, which seems useful.

So I guess this can be allowed when all units can be canonicalized at parse time, I think this is the case for all dimensions except lengths.

Lengths should either restrict the limits to 0 and ∞, or define what happens for units that can't be converted to the specified one at parse time.

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


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

Received on Sunday, 14 August 2022 19:36:36 UTC