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

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

From: Anthony Frehner via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Oct 2019 14:55:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542742061-1571237719-sysbot+gh@w3.org>
though thinking about it, I'm curious how it would work. If there's 1 value that changes, then that's not good. 

If there are 2 values (e.g. something like `inset-ua-chrome-small` and `inset-ua-chrome-large`), what would it take to get a full-height element?

For example:

height: 100vhc;


height: calc(100vh - env(inset-ua-chrome-small) + env(inset-ua-chrome-large));

If I'm understanding the proposed env variable correctly.

GitHub Notification of comment by frehner
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-542742061 using your GitHub account
Received on Wednesday, 16 October 2019 14:55:21 UTC

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