| Index: Source/core/html/HTMLSelectElement.cpp
|
| ===================================================================
|
| --- Source/core/html/HTMLSelectElement.cpp (revision 151688)
|
| +++ Source/core/html/HTMLSelectElement.cpp (working copy)
|
| @@ -1342,6 +1342,9 @@
|
| event->setDefaultHandled();
|
| }
|
| } else if (event->type() == eventNames().mouseupEvent && event->isMouseEvent() && static_cast<MouseEvent*>(event)->button() == LeftButton && document()->frame()->eventHandler()->autoscrollRenderer() != renderer()) {
|
| + // We didn't start this click/drag on any options.
|
| + if (m_lastOnChangeSelection.isEmpty())
|
| + return;
|
| // This makes sure we fire dispatchFormControlChangeEvent for a single
|
| // click. For drag selection, onChange will fire when the autoscroll
|
| // timer stops.
|
|
|