mouseout not emitted when element moved in dom

UNCONFIRMED
Unassigned

Status

()

Core
DOM: Events
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: James Campos, Unassigned)

Tracking

22 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 771079 [details]
index.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Steps to reproduce:

Mouse over an element, then reinsert that element somewhere in the dom, such that it is no longer beneath the cursor.


Actual results:

The mouseout event did not fire.


Expected results:

The mouseout event should have fired.

Interestingly, if a separate element is reinserted in the dom, pushing the first element out from under the cursor, then mouseout events *do* fire.

The attached file shows two sets of divs; the first set will move the clicked div directly, the second set indirectly. The console will log 'mouseout' and 'mouseover' events.

I reported a similar bug previously, which was marked invalid - Bug 674955.
(Reporter)

Updated

5 years ago
Attachment #771079 - Attachment mime type: text/plain → text/html
You need to log in before you can comment on or make changes to this bug.