Affecting Disabled form controls now trigger mouseover and similar mouse events

Published: | Categories: DOM


Starting with Firefox 44, the mouseover, mouseout, mouseenter and mouseleave events will be fired for disabled form controls such as <input>. The old behaviour had sometimes confused Web developers using jQuery in particular.

In order to make sure your code always works as expected, you might want to explicitly check the disabled property of the target element in your event handler.