Re: Viewport Orientation

Hi Paddy,

The DeviceOrientation spec is concerned with exposing the physical
orientation of the hosting device in space. It does not provide the
orientation relative to the device of content displayed on the screen,
but this is available through the existing window.onorientationchange
and window.orientation properties. You're right that in order to
implement a compass app, you might need both pieces of information.

I'm not sure I understand your comments about the values provided by
iOS5, but it sounds like you're suggesting that they do not follow the
spec? Can you clarify?

Please let me know if you have any suggestions for how the wording of
the DeviceOrientation spec could be clarified to avoid confusion.

Steve

Received on Monday, 5 March 2012 11:43:13 UTC