Re: window.ondevicemotion + window.ondeviceorientation

I implemented window.ondevicemotion and window.ondeviceorientation in
Firefox for compatibility.

Doug

On Mon, Jul 11, 2011 at 10:44 AM, Ian Hickson <ian@hixie.ch> wrote:
> 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:47:07 UTC