W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: Clarification on mouseenter/mouseleave

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 01 Jul 2010 02:14:06 +0100
To: "Sean Hogan" <shogun70@westnet.com.au>
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.ve44drycjz3wb9@coruscant>
On , Sean Hogan <shogun70@westnet.com.au> wrote:

>   On 29/06/10 11:08 AM, Joćo Eiras wrote:
>> After further review I got confused. IE does set the target to the
>> inner element, it fires the listeners on both the inner element and
>> outer element, but doesn't bubble up to the body.
>> Does this mean that the user agent has to fire an event for each node
>> that is unhovered, each one with their separate capturing phases ?
> Looks like it.
> And the W3C DOM model won't haven't an equivalent to fromElement - for
> mouseleave - and toElement - for mouseenter. I can't see a need for
> them, but would be nice to know how they are being used on the web.

There is, it's relatedTarget.
Received on Thursday, 1 July 2010 01:14:36 UTC

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