[csswg-drafts] [css-values] Range constraints and functions (#4191)

ewilligers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values] Range constraints and functions ==
Width and duration properties may not be negative. Is `min(1em - 30px, 10px - 1em)` a valid width? Is `calc((sin(1em / 1px) - 2) * 1s)` a valid duration?

Mathematically, they are always negative, but it isn't clear if the parser is required to detect this and reject the values, or if the parser should accept the values, with clamping happening later.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4191 using your GitHub account

Received on Tuesday, 13 August 2019 03:23:47 UTC