Issue metadata
Sign in to add a comment
|
Mouseup event is not dispatched on SELECT element on Mac
Reported by
tomalec...@gmail.com,
Nov 23 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 Steps to reproduce the problem: 1. Create `select` element, with two `option`s 2. Attach `mouseup` event listener to select element 3. Check the select's value property on `mouseup`callback What is the expected behavior? When user clicks on select element the callback should be called with old value, once he/she click on another option, callback should be called with new one.a What went wrong? Once user clicks on option callback is not called. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 54.0.2840.98 Channel: stable OS Version: OS X 10.12.1 Flash Version: Shockwave Flash 23.0 r0 Live example at https://jsfiddle.net/tomalec/cog1fq12/5/ (open console to see the results) As far as I tested it works correctly at: Chrome 54, Windows Firefox 49.0.2, Windows Safari 10, Mac So it seems like an inconsistency. Spec says: > before the relevant user interaction event is queued (e.g. before the click event), the user agent must set the selectedness of the picked option element to true https://www.w3.org/TR/html5/forms.html#the-select-element |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by tkent@chromium.org
, Nov 23 2016Mergedinto: 26017
Status: Duplicate (was: Unconfirmed)