[Webkit-unassigned] [Bug 27245] New: Please implement window.onOrientationWillChange

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 13 20:30:55 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27245

           Summary: Please implement window.onOrientationWillChange
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: neven.mrgan at gmail.com


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!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list