Open Bug 1480664 Opened 2 years ago Updated 2 years ago

'mouseout' event fires prematurely for <select> element


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

61 Branch
Windows 10





(Reporter: tom_xyz, Unassigned)



(1 file)

419 bytes, text/html
Attached file test.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce:

1. Open the attached file in Firefox 61.0.1 (64-bit)
2. Open the JavaScript Console
3. Click on the drop-down menu to open it, then move the cursor to Item 2

Actual results:

The `mouseout` event fires before you move the mouse cursor off the drop-down menu. It seems to fire as soon as the cursor leaves the select trigger and enters the options list.

Expected results:

The `mouseout` event should only fire when the mouse cursor leaves the entire drop-down menu, including the child option items. Compare the behavior in Chrome, which fires this event properly.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Summary: onmouseout fires prematurely for <select> element → 'mouseout' event fires prematurely for <select> element
Component: Untriaged → DOM: Events
Product: Firefox → Core
Olli, can you take a look? Thanks.
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.