[Webkit-unassigned] [Bug 170595] window.innerWidth/innerHeight are bogus after resize/orientationchange in WKWebView (but not MobileSafari)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 8 17:34:22 PDT 2017


--- Comment #16 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
We can fix this by avoiding the intersection with the content view bounds (which is really just there to fix rubber banding), but the layout viewport rect is still wrong because it also relies on state from the web process (the documentRect).

We really need to round-trip through the web process with the new size before we can reliably compute rects.

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/20170509/f8381ae0/attachment.html>

More information about the webkit-unassigned mailing list