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
>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  
>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,
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 UTC

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