Open Bug 1480664 Opened 7 years ago Updated 2 years ago

'mouseout' event fires prematurely for <select> element

Categories

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

61 Branch
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tom_xyz, Unassigned)

Details

Attachments

(1 file)

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
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: