Re: [csswg-drafts] [css-values-4] Clarify how and when the initial containing block and visual viewport may deviate (#5777)

> > This proposal is supported by the following article:
> > https://mind-bending-forks.github.io/css-viewport-percentage-length-units/
> 
> @mind-bending-forks, in the example pages in sections 2.2 and 2.3 of this article, is the content truncation problem you describe resolved if you use `100%` instead of `100vh` as the size of the `<body>` element?

that should work in that simple case, but it doesn't solve the need for having an accurate value for `vh` - I may want a `div` that is deep in my HTML tree to fill the screen 100% but that would require me to make sure that each and every parent of that `div` is also `100%` otherwise it won't work. Thus the value of (accurate) `vh` units that don't require developers to do that.  

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 11 December 2020 23:04:23 UTC