W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2010

Re: [D3E] Comments

From: Sean Hogan <shogun70@westnet.com.au>
Date: Mon, 01 Feb 2010 13:02:43 +1100
Message-ID: <4B663643.2030408@westnet.com.au>
To: Olli@pettay.fi
CC: Olli Pettay <Olli.Pettay@helsinki.fi>, "www-dom@w3.org" <www-dom@w3.org>, Doug Schepers <schepers@w3.org>, Travis Leithead <travil@microsoft.com>
On 1/02/10 10:48 AM, Sean Hogan wrote:
> On 1/02/10 5:21 AM, Olli Pettay wrote:
>> mouseenter and mouseleave
>> - They still need to be defined more precisely.
>
> I think they are supposed to match IE behavior.
>
>>   When mouse is moved for body element to
>> <h1><h2><h3>foobar</h3></h2></h1> will there be
>>   3 mouseenter events dispatched?
>
> That isn't valid HTML. But assuming that it is...
>
> It depends. If the mouse move directly to h3 - without moving over h1 
> or h2 - then there will be only one event.
> This could happen if h3 is positioned absolutely (or relatively, or 
> floated, etc) or even if the border of h3 coincides with the border of 
> h1 and h2 (which it would if margins, borders and paddings are all zero).
>

Forget that. I was going by memory of some testing I did last year - 
either my memory or my testing was faulty.
I just tested again and I think the spec is pretty close to IE behavior 
(but agree that it could be worded better).

Sorry about that.
Sean
Received on Monday, 1 February 2010 02:03:22 GMT

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