NEW186622
documentElement clientHeight does not include safe-area
https://bugs.webkit.org/show_bug.cgi?id=186622
Summary documentElement clientHeight does not include safe-area
Darryl Pogue
Reported 2018-06-14 10:08:24 PDT
On an iPhone X running iOS 11.4 with a full-screen WKWebView and viewport-fit=cover, `document.documentElement.clientHeight` returns 734. The actual screen height (as reported by `screen.availHeight`) is 812. If viewport-fit=cover is specified, I would expect the clientHeight to be the full height of the screen, without subtracting the safe-area insets (since they are not being applied due to the viewport directive). This is also occurring in iOS 12.0 beta 1.
Attachments
Note You need to log in before you can comment on or make changes to this bug.