[Webkit-unassigned] [Bug 221279] [iOS] window.screen.{width, height} are incorrect on iPhone 12 in WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 25 06:55:17 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=221279

kirill.kandalov at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kirill.kandalov at gmail.com

--- Comment #4 from kirill.kandalov at gmail.com ---
Do you check with "Zoom" feature on or off? As it affects the values that you'll see.

Check this article that states when each resolutions should appear:
https://hacknicity.medium.com/how-ios-apps-adapt-to-the-various-iphone-12-screen-sizes-e45c021e1b8b
"Standard Zoom
Unlike the iPhone 12 mini, the iPhone 12 and 12 Pro introduce a completely new resolution of 390×844 points at their native resolution"
And
"Apps built with Xcode 12.0 or earlier will see a zoomed up iPhone 11 Pro resolution of 375×812 when run on the iPhone 12 or 12 Pro at its native resolution"

BTW all the internet is full of claiming that iOS window should be 390x844.
E.g. https://yesviz.com/devices/iphone-12/
https://useyourloaf.com/blog/iphone-12-screen-sizes/

Back to the bug, is the wrong resolution in non-Safari WKWebView due to compilation with old XCode or for other reason (i.e. bug)?

-- 
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/20210525/e35bb9eb/attachment-0001.htm>


More information about the webkit-unassigned mailing list