[Webkit-unassigned] [Bug 258663] New: iOS 16.5.1 Safari meta viewport regression after upgrading from 16.1.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 29 02:21:43 PDT 2023


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

            Bug ID: 258663
           Summary: iOS 16.5.1 Safari meta viewport regression after
                    upgrading from 16.1.1
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: juwagn at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 466863

  --> https://bugs.webkit.org/attachment.cgi?id=466863&action=review

viewport bug in meta tag on iOS 16.5.1 Safari

Hello,

<meta> tag name="viewport" and as example content="width=600***** stopped to work correctly after upgrading from iOS 16.1.1 to 16.5.1

Let's assume you have physic screen size on iPad 810x1080 and you want to set viewport width to 600px, then issue will occur in landscape and portrait mode, the browser reports then not expected 600px in width, but depending on orientation physic width.

If you set viewport width to 900px then issue will occur only in landscape mode since physic screen width in portrait mode is 810 and that is lower value than 900px, and issue won't occur, but in landscape mode physic size 1080 is higher than 900px and issue will occur, reports then unexpected width.

If you set as viewport width 1200 or any higher value then issue won't occur for both orientations, since 1200px is higher value than physic screen size in both - height and width (in the example 810x1080). 
Do you have any idea which degradation occured in iOS 16.5.1 that makes such issue?

Attached file 
viewport600.html with width=600
if you open it on Safari iOS 16.5.1 then you will notice the smallest screen size is then the width of your physic screen depending on orientation. 
If you change that value from 600 as example to width=1400 then it will work fine in both orientations.
Actually it is blocker since many users experienced wrong behavior by prefering viewport 600 in width on their devices.

On Android devices with common browsers such error doesn't occur.
Thank you in advance!

Sincerely yours.

-- 
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/20230629/d7c65402/attachment.htm>


More information about the webkit-unassigned mailing list