W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: Functions that Implement the EventListener Interface (DOM Level 3 Events)

From: Rob Brackett <rbrackett@apple.com>
Date: Wed, 22 Jun 2011 13:44:12 -0700
Message-id: <A6919CD7-9B40-41E8-9F4D-0A2E0B91A72D@apple.com>
To: www-dom@w3.org
I wanted to follow up on this, since there haven't been any responses this week. Does anybody have any feedback on whether the issue of how ECMAScript functions that also have a handleEvent property behave as event listeners is an issue worth addressing? I definitely think it is a legitimate point of confusion for authors and deserves some discussion, especially since DOM Level 3 Events is closing down.


On Jun 17, 2011, at 9:56 PM, Rob Brackett wrote:

> On Jun 17, 2011, at 9:26 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
>> On 6/17/11 11:07 PM, Rob Brackett wrote:
>>> But it seems disappointing that such flexibility and consistency in the API would be sacrificed for an optimization in Internet Explorer.
>> Not just IE.  The behavior currently in the spec is the behavior that Chrome, Gecko, and IE have, no?
> I was referring to the fact that, in the earlier email, it sounded like the *optimization,* and thus the desire for the current behavior, was unique to IE.
> But to answer the question: yes; IE, Gecko, and Chrome match the current spec. However, any WebKit implementation that uses JavaScriptCore, which I believe represents a wide variety of mobile browsers using WebKit (not just iOS), currently differs from the spec. So not all implementations agree.
> -Rob
Received on Wednesday, 22 June 2011 20:44:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC