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

> FWIW height: calc(100vh - env(foo, 0px)); does work. That's just because calc(100vh - 0) is invalid, because 0 in calc gets parsed as a `<number>` instead of a `<length>`, and you can't subtract `<length>` and `<number>`s inside calc.

Why is `env(foo, 0px)` equivalent to `0`?

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

Received on Thursday, 31 October 2019 22:00:02 UTC