Bug 27245

Summary: Please implement window.onOrientationWillChange
Product: WebKit Reporter: Neven Mrgan <neven.mrgan>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.5   

Neven Mrgan
Reported 2009-07-13 20:30:54 PDT
Dealing with rotation changes in web apps on the iPhone is currently pretty limited. All we can do is listen for orientation changes AFTER they've happened. To "lock" an app into a particular orientation, it would be helpful to get the window.onOrientationWillChange event, which we could then preventDefault() on. Locking a web app into one orientation is a highly desirable feature; it's crucial for landscape-mode games, for instance. The vast majority of native games on the iPhone do this. Let's make native-quality web gams!
Attachments
Lucas Forschler
Comment 1 2019-02-06 09:18:46 PST
Mass move bugs into the DOM component.
Note You need to log in before you can comment on or make changes to this bug.