W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: ISSUE-2 (OnFoo Attributes): Event Handler Attributes (onfoo Attributes) and Add/Remove Event Listener [DOM3 Events]

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Wed, 20 Oct 2010 17:51:29 -0700
Message-ID: <AANLkTimb6Gm0f8+n-F4ZH4rRqzu+hPZGZq_-JVX6ecBc@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: Web Applications Working Group WG <public-webapps@w3.org>
No browsers do that. I'd say leave it as is.

> I don't think any browser exposes these currently via addEventListener/
> removeEventListener, but they do participate in the event dispatch
> order. Another way to look at it is: they are added, but the function
> created from the attribute is not added directly, it is wrapped with
> an event listener that cannot be observed from JavaScript.

Right; event handler properties and events added via addEventListener
are two separate things.

Can the issue be closed?

Received on Thursday, 21 October 2010 00:52:01 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:28 UTC