W3C home > Mailing lists > Public > public-geolocation@w3.org > July 2011

Spec update: deviceorientation event should fire when listener is first registered

From: Steve Block <steveblock@google.com>
Date: Tue, 5 Jul 2011 23:53:48 +0100
Message-ID: <CAFun1drow7=or99rv2j8p6EkQ5YkHg+O-6zSF00L+yOEUyfkEQ@mail.gmail.com>
To: public-geolocation <public-geolocation@w3.org>
I've just updated the spec [1] to require that the deviceorientation
event fires when a listener first registers for the event. This is to
provide the web app with the orientation without it having to wait
until the orientation changes. This came up on the WebKit mailing list
[2]. Hopefully this isn't a controversial change, but please let me
know if you have concerns.

Steve

[1] http://dev.w3.org/cvsweb/geo/api/spec-source-orientation.html.diff?r1=1.36;r2=1.37;f=h
[2] https://lists.webkit.org/pipermail/webkit-dev/2011-June/017144.html

-- 
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902
Received on Tuesday, 5 July 2011 22:54:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:02 UTC