id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
12160	mouseleave inconsistent with docs, across browsers when using form fields	alastair@…	alastair@propcom.co.uk	"Here is an example page demonstrating the use of a select box inside a div with the mouseleave handler on it.

http://jsfiddle.net/cEhkU/2/

The behaviour exhibited differs across the browsers I tested it on:

* In Chromium (18.0.1025.168 Ubuntu 11.10) the mouseleave event triggers as soon as I click on the select box
* In Firefox (14.0.1 Ubuntu 11.10) the mouseleave event triggers when the mouse pointer moves into the options list

Ideal behaviour is that the options list is considered a child of the div and mouseleave is not triggered until the mouse leaves both the dropdown and the div.

Preferred behaviour would be that the event is not triggered until the mouse pointer leaves the boundary of the div.

Expected behaviour is at least that the mouseleave event does not trigger until the mouse pointer moves to the options list.

It has been suggested that focusing of the select box counts as the mouse leaving the div but I would contest that the mouse leaving the div would at least require the mouse to move, and focusing the select can be done without the mouse at all; hence the focus is irrelevant to the position of the mouse."	bug	closed	undecided	None	unfiled	1.7.2	invalid				
