Re: Define window.orientation

True Kenneth,

- but in all cases, it would be good if anything related to orientation
(Media Query, accelerometer, etc.) at least had a common holistic way of
defining "what is up" ~ (x,y,z) = (0,1,0) or so . and if that *changes* if
the different levels of orientation (device lock, window, etc.) somehow
auto-rotates on device rotate or it follows the HW accelerometer and
couldn't care less about pixels on screen.  Someone should - seriously - be
the "holistic owner of all things orientation for Web".

- Lars


On Tue, Nov 5, 2013 at 12:23 PM, Kenneth Rohde Christiansen <
kenneth.christiansen@gmail.com> wrote:

> They are somewheat different things. The former is basically a way to get
> accelerometer info (useful for games etc) and the latter is about actual
> OS(/Screen) orientation, in which the window.orientation (Browser
> orientation) falls.
>
> Kenneth
>
>
> On Tue, Nov 5, 2013 at 12:03 PM, Anne van Kesteren <annevk@annevk.nl>wrote:
>
>> It seems either http://dev.w3.org/geo/api/spec-source-orientation.html
>> or https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html
>> needs to define and standardize the proprietary window.orientation
>> feature because not having it defined is a problem:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=920342
>>
>> As an aside, any chance we could have those two drafts be a single
>> draft covering that whole spectrum?
>>
>>
>> --
>> http://annevankesteren.nl/
>>
>>
>
>
> --
> Kenneth Rohde Christiansen
> Web Platform Architect, Intel Corporation.
> Phone  +45 4294 9458 ﹆﹆﹆
>

Received on Tuesday, 5 November 2013 23:53:07 UTC