[Webkit-unassigned] [Bug 238152] New: [iOS] Incorrect viewport width after rotating to landscape, then going back cross-origin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 21 13:58:17 PDT 2022


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

            Bug ID: 238152
           Summary: [iOS] Incorrect viewport width after rotating to
                    landscape, then going back cross-origin
           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,
                    wenson_hsieh at apple.com, zalan at apple.com

This reproduces in iOS 15.4 on Chrome, Edge, and Firefox, but not in Safari.

Steps to reproduce:
1. In portrait orientation, visit https://www.google.com/search?q=walmart
2. Tap on the link to walmart.com
3. After walmart.com loads, rotate to landscape
4. Tap the back button

Expected result:
Rendered page fills the viewport

Actual result:
Rendered page uses only the left-most portion of the viewport, as if it still has the width it had in portrait mode.

This bug also reproduces with the same steps on bing.com instead of google.com, and with other search terms, so it doesn't seem to be a site-specific bug.

I'm not sure why this doesn't reproduce in Safari; perhaps Safari is doing something that forces a re-layout.

-- 
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/20220321/b540b7c8/attachment.htm>


More information about the webkit-unassigned mailing list