W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Aug 2019 03:23:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-479940882-1565666624-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC