Mozilla Mouse Bug

Reported 1 November 2005 to Quirks Mode.

Description

The above text input element has event listeners registered for both "mouseover" and "mouseout". One should see pairs of mouseover/mouseout events when the mouse enters/exits the text field (as one sees in IE 6). On Firefox 1.0.7, several strange things occur:

Workaround

In order to respond to simply mouseover/mouseout events, one must perform both of the following:

This workaround is compatible with IE 6, as that browser does not send the extraneous events in the first place. This workaround is forward compatible only if Mozilla fixes the extraneous event bug when it fixes the event.relatedTarget.nodeName access bug.