[Bug 24698] New: Expose/lock to the screen orientation angle


            Bug ID: 24698
           Summary: Expose/lock to the screen orientation angle
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Screen Orientation
          Assignee: mounir@lamouri.fr
          Reporter: mounir@lamouri.fr
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org, w3c@marcosc.com

The API exposes only the screen orientation name but not the actual angle
compared to the device natural orientation. Knowing that can be useful for
different reasons. For example, in combination with the device orientation
events, it would make possible to write a reliable compass app.

The details are not yet clear but we might want to expose 0/90/180/270 in
something like screen.orientationAngle and maybe allow lockOrientation() to
take those values too.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 17 February 2014 16:25:07 UTC