Closed Bug 1195675 Opened 9 years ago Closed 9 years ago

Firefox v40 regression in mouse event handling and <select /> <option />'s

Categories

(Firefox :: Untriaged, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1194733

People

(Reporter: kenny, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 Steps to reproduce: In Firefox v40 a document with a mouseup event handler that calls e.preventDefault() prevents selecting a select option element. This can be simply reproduced (from a much more complex page):- <select> <option value="1">One</option> <option value="2">Two</option> </select> ... document.addEventListener('mouseup', function(e) { console.log('mouseup fired!'); e.preventDefault(); }); jsfiddle: https://jsfiddle.net/7Lm6zvvk/2/ Actual results: In Firefox v40 - The option is not selected and the select list does not close. In Firefox v39 - The option is selected as expected. Expected results: The option is selected, the selected item is changed and the select list closes.
Bug 1194733 will fix this.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.