Closed Bug 1265909 Opened 8 years ago Closed 8 years ago
Fox 45 .0 .2 fires on Mouse Out for disabled input .
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20160407164938 Steps to reproduce: Sample HTML: <input type="image" src="images/hint.png" id="Hint" disabled='disabled' onclick="hint()" onmousedown="changeButton('Hint','down')" onmouseup="changeButton('Hint','on')" onmouseout="changeButton('Hint','on')" alt="Hint" title="Display a hint for this question."/> Function changeButton changes the button source. "on" also turns off disabled; "off" also turns on disabled. Actual results: Button is initially disabled as desired. onmousedown and onmouseup are disabled, but onmouseout gets fired. Expected results: onmouseout should not fire. IE, Opera, and Chrome work as desired, as did FireFox until this release.
Could you attach a testcase, please.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
(In reply to Loic from comment #1) > Could you attach a testcase, please. <!DOCTYPE HTML> <html lang="en"> <head> </head> <body> <br/><br/> <input type="button" src="images/hint.png" id="Hint" disabled="disabled" onmousedown="alert('Down')" onmouseup="alert('Up')" onmouseout="alert('Out')" value="Hint" title="Display a hint for this question."/> <br/><br/> </body> </html>
test case. disable works for onmousedown and onmouseup, but not for onmouseover
Bill, did you see the developers notes for 44? https://developer.mozilla.org/en-US/Firefox/Releases/44 "The events mouseover, mouseout, mouseenter, mouseleave, pointermove, pointerover, pointerout, pointerenter and pointerleave are now triggered for disabled form elements (bug 218093)."
Forgot to document it on FxSiteCompat.com. Will catch up.
You need to log in before you can comment on or make changes to this bug.