WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
27245
Please implement window.onOrientationWillChange
https://bugs.webkit.org/show_bug.cgi?id=27245
Summary
Please implement window.onOrientationWillChange
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug