W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-values] <percentage> shouldn't be able to resolve to <number> in calc()

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 May 2017 00:06:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-304156598-1495757205-sysbot+gh@w3.org>
Correct, but that's not relevant here - `<number-token>` is *always* a "number" type in `calc()`; `width: calc(0);` is invalid, because 'width' doesn't accept `<number>` in its grammar.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1463#issuecomment-304156598 using your GitHub account
Received on Friday, 26 May 2017 00:06:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:54 UTC