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

Re: window.ondevicemotion + window.ondeviceorientation

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 11 Jul 2011 10:44:06 -0700
Message-ID: <CAP2znobsVAG158=EtAv3ov3DJZ+6FCvimWiVEeDqwgB72f31Pg@mail.gmail.com>
To: Andrei Popescu <andreip@google.com>
Cc: Doug Turner <doug.turner@gmail.com>, public-geolocation <public-geolocation@w3.org>
On Tue, Jun 28, 2011 at 3:01 AM, Andrei Popescu <andreip@google.com> wrote:

>
> I'd be ok with removing them from the spec but, looking at the HTML5
> spec, it seems that such event handler attributes are defined for most
> (all?) new events defined there. So if the HTML5 spec does this, so
> should we? Ian, would you please be able to advice on this: must all
> newly defined DOM events also have corresponding event handler
> attributes?
>

It's not required, no. Some events don't have them (e.g. DOMContentLoaded).

If content is using them, though, might as well add them.

-- 
Ian Hickson
Received on Monday, 11 July 2011 17:44:42 UTC

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