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: Tue, 15 Oct 2019 21:20:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542409815-1571174411-sysbot+gh@w3.org>
>I think we can just clarify that the viewport units should do so.

sorry, can you clarify what you mean by this? Are you proposed that `vh` units go back to the original behavior of changing the value of `1vh` based on UA chrome? 

If so, I don't think that is a better solution than the current situation -- that's how it behaved originally and it was a worse experience than what we have now. :) 

(If not, sorry, can you explain what you mean? I apologize)

>An alternative to adding new units would be to expose environment variables for the size of the obscured region on each side of the screen. Or maybe, include this type of obscuring in the "safe inset area" variables that are already defined.

I think that would put us back at the original behavior of `vh` units, which means that content actually changes size (and thus can shift underneath the user) when you scroll, right? Or am I misunderstanding your proposal?

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

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