Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: Source/WebCore/html/HTMLInputElement.cpp

Issue 7768005: Merge 94637 - REGRESSION(r94274): The inner text value of an input element is not updated when in... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/suggested-value-after-setvalue-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « LayoutTests/fast/forms/suggested-value-after-setvalue-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698