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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Oct 2019 21:09:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542406238-1571173797-sysbot+gh@w3.org>
>  should it respond to on-screen-keyboard showing/hiding?

I would say that yes, any feature for adjusting to URL bar show/hide behavior should also include the keyboard and any other pop-up/pop-over browser widgets that cover part of the layout viewport. Example use case: if the UI consists mostly of a large text box, it's nice to make that fill most of the window. It's less nice if the box gets covered up by the keyboard you're using to type in it, and you end up with a scrolling text box inside a scrolling window.

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](https://drafts.csswg.org/css-env-1/#safe-area-insets) that are already defined.

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

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