Bug 154815 - Viewport changes after refresh
Summary: Viewport changes after refresh
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.2
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-02-29 07:30 PST by Ashley Gullen
Modified: 2016-04-25 17:38 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>