Bug 154815

Summary: Viewport changes after refresh
Product: WebKit Reporter: Ashley Gullen <ashley>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: david+webkit, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: iPhone / iPad   
OS: iOS 9.2   

Description Ashley Gullen 2016-02-29 07:30:11 PST
Visit this URL: http://www.scirra.com/labs/bugs/iosviewport/refresh.html

Steps to reproduce:
1. Load the URL in landscape orientation
2. Turn the device to portrait orientation
3. Press refresh

Expected results:

Nothing changes

Observed results (on affected devices):

window.innerWidth and window.innerHeight become larger. The right and bottom edges of the red border disappear.

This only appears to affect certain devices. Of those I have access to:

iPad Pro: not affected
iPad Air 2: affected
iPad 2: affected
iPhone 4S: affected
Comment 1 Radar WebKit Bug Importer 2016-03-01 20:28:44 PST
<rdar://problem/24924444>