[Webkit-unassigned] [Bug 186622] New: documentElement clientHeight does not include safe-area
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 14 10:08:24 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186622
Bug ID: 186622
Summary: documentElement clientHeight does not include
safe-area
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: iOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dvpdiner2 at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180614/ebf62522/attachment.html>
More information about the webkit-unassigned
mailing list