Open Bug 890094 Opened 11 years ago Updated 2 years ago

mouseout not emitted when element moved in dom

Categories

(Core :: DOM: Events, defect, P5)

22 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: james.r.campos, Unassigned)

Details

Attachments

(1 file)

Attached file 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.
Attachment #771079 - Attachment mime type: text/plain → text/html
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: