Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 812d4a447090b56997276d374bf386d1fd0697dd..597021b5f195bbd9d0b2c824d86178d1699727c2 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -258,6 +258,7 @@ void HTMLSelectElement::setValue(const String &value, bool sendEvents) |
} |
int previousSelectedIndex = selectedIndex(); |
+ setSuggestedIndex(-1); |
setSelectedIndex(optionIndex); |
if (sendEvents && previousSelectedIndex != selectedIndex()) { |