Bug 27245
Summary: | Please implement window.onOrientationWillChange | ||
---|---|---|---|
Product: | WebKit | Reporter: | Neven Mrgan <neven.mrgan> |
Component: | DOM | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Lucas Forschler
Mass move bugs into the DOM component.