Bug 238152
| Summary: | [iOS] Incorrect viewport width after rotating to landscape, then going back cross-origin | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ali Juma <ajuma> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | achristensen, bfulgham, cdumez, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ali Juma
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/90639341>