W3C home > Mailing lists > Public > public-geolocation@w3.org > March 2012

Re: Viewport Orientation

From: Steve Block <steveblock@google.com>
Date: Mon, 5 Mar 2012 11:42:40 +0000
Message-ID: <CAFun1do-hKfCfw2zO=zeDQ089cYHoyJfWOZe5QTdgxGgyk9o6w@mail.gmail.com>
To: "Patrick O'Reilly" <patrick.oreilly@gmail.com>
Cc: public-geolocation@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:56 GMT