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

Re: [csswg-drafts] [css-values-4] Add vhc value (#4329)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Oct 2019 23:39:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-548157221-1572478794-sysbot+gh@w3.org>
> FWIW height: calc(100vh - env(foo, 0px)); does work. That's just because calc(100vh - 0) is invalid, because 0 in calc get's parsed as a <number>, not a <length>, and you can't subtract <length> and <number>s.

I can't parse this; do have too many, or not enough, negations?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-548157221 using your GitHub account
Received on Wednesday, 30 October 2019 23:39:57 UTC

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