Index: Source/WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLInputElement.cpp (revision 94882) |
+++ Source/WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -1102,6 +1102,7 @@ |
setNeedsValidityCheck(); |
+ m_suggestedValue = String(); // updateInnerTextValue uses the suggested value. |
if (valueChanged) |
updateInnerTextValue(); |
@@ -1111,7 +1112,6 @@ |
setSelectionRange(max, max); |
else |
cacheSelection(max, max, SelectionHasNoDirection); |
- m_suggestedValue = String(); |
} |
if (!valueChanged) |