- From: James Graham <jgraham@opera.com>
- Date: Fri, 02 Dec 2011 14:09:09 +0100
- To: public-geolocation@w3.org
There are a number of problems around the events in the device orientation spec: The spec refers to DOM 2 events which is hideously out of date. It should refer to DOM 4 [1] which actually has an accurate description of how events work. The spec introduces a new init*Event method. There has been general agreement that these should be phased out of the platform in favour of constructors for event objects. The description of event dispatch should use the correct terminology to integrate with the event loop in HTML5. See e.g. this example [2] from websockets to get an idea of how it should look (the relevant sentences are those following the pattern "queue a task named X to fire a simple event named Y at the Z object". [1] http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#events [2] http://dev.w3.org/html5/websockets/#feedback-from-the-protocol
Received on Friday, 2 December 2011 13:09:43 UTC