This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
The exact change is: https://dvcs.w3.org/hg/screen-orientation/rev/d42347e9ab3d But simpler to look at the current specification.