Descriptionlistboxdefaulteventhandler in htmlselectelement is not called when mouse is released outside if listbox is non scrollable.
Hence onchange event is not fired for htmlselectelement.
But when listbox is scrollable, Autoscrollcontroller is used to generate on change event.
Forcing Autoscrollcontroller to be used even when listbox is not scrollable.
By commenting defaulthandled for mousemove in listboxdefaulteventhandler will cause handlemousedraggedevent to be called.
This will start the Autoscrollcontroller for listbox selection.
Which inturn will generate the onchange event.
The changes didnot cause any side effect and layout test failure.
BUG=317809, 94986
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164563
Patch Set 1 #Patch Set 2 : removing not modified file #Patch Set 3 : Merged to trunk #Patch Set 4 : fixed layout test fail #Patch Set 5 : Added layout test #Patch Set 6 : removed unnecessary blank lines in layout test #
Total comments: 8
Patch Set 7 : Applied review comments #Patch Set 8 : removed not modified file #
Total comments: 16
Patch Set 9 : Moved layout test to fast/forms/select #
Total comments: 10
Patch Set 10 : Minor modification and incorporated review comments #
Total comments: 4
Messages
Total messages: 12 (0 generated)
|