[Webkit-unassigned] [Bug 221279] New: [iOS] window.screen.{width, height} are incorrect on iPhone 12 in WKWebView
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 2 12:09:38 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221279
Bug ID: 221279
Summary: [iOS] window.screen.{width, height} are incorrect on
iPhone 12 in WKWebView
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ajuma at chromium.org
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 419046
--> https://bugs.webkit.org/attachment.cgi?id=419046&action=review
Test case from crbug.com/1172787
On iPhone 12 on iOS 14.4, window.screen.{width, height} is incorrect in non-Safari WKWebView, but correct in Safari.
Specifically, in WKWebView (tested in Chrome, Edge, and Firefox on iOS):
window.screen.width is 375 and window.screen.height is 812
But in Safari:
window.screen.width is 390 and window.screen.height is 844
This bug was originally reported at https://crbug.com/1172787
--
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/20210202/7dbe5d65/attachment-0001.htm>
More information about the webkit-unassigned
mailing list