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

Re: Clarification on mouseenter/mouseleave

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 28 Jun 2010 22:12:07 +0200
To: Joćo Eiras <joaoe@opera.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <2kuh26hdignl0bod5nh6rhd236kkshpa7h@hive.bjoern.hoehrmann.de>
* Joćo Eiras wrote:
>Hi gentlemen and ladies.
>
>The specification for mouseenter and mouseleave
>http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseenter
>http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseleave
>as far as I know, is the description of the first (and currently one and  
>only) implementation of that same feature in any browser which is Internet  
>Explorer.
>
>a)
>The spec however remarks that the event does not bubble. Well, in IE they  
>do bubble. See attached testcase.

In order to test what the bubbling behavior of an event object is, if
you do not trust the value of the corresponding property of the event
object, you have to register event listeners for an element and one of
its ancestors. Your test case only registers listeners on one element,
so it does not test the bubbling behavior. Your findings are mistaken,
http://lists.w3.org/Archives/Public/public-webapi/2008May/0111.html
should be a proper description of how the events are implemented in IE.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 28 June 2010 20:12:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT