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

I'm happy to see this evolving towards a solution, thanks @frehner for the hard work, and everyone for the interesting discussions.

I did open [the bug in Webkit's Bugzilla](https://bugs.webkit.org/show_bug.cgi?id=141832) 5 years ago, and I've had a lot of (frustrated) feedback [in my webmentions](https://nicolas-hoizey.com/articles/2015/02/18/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers/#webmentions) too.

@jensimmons if you need actual use cases, I might be able to contribute:

My use case, [visible online](https://play.esviji.com/) is a game that uses `vh`, `vw` and even `vmin`, and combines them (there is even a `width: calc(100vw - 6vmin - 74.4186vh);` in my CSS 😅) to size and position SVG elements in the responsive UI.

This UI is meant to be "full viewport" (full screen would be better, but not always possible), everything always visible, and should not require scrolling, the browser chrome being minimized or not.

I've been using [a JavaScript library](https://github.com/rodneyrehm/viewport-units-buggyfill) to "fix" the issue for years, but would definitely prefer a CSS only solution.

I'll be happy to help if possible, using the new value in a branch of my game code as soon as it's available in the first browser engine.

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

Received on Wednesday, 29 April 2020 16:30:09 UTC