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

Unified Diff: third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp

Issue 2796853002: Update text field 'change' event logic to match to Firefox. (Closed)
Patch Set: . Created 3 years, 8 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
Index: third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
index 11bed406ba2b15a1913037ea8e96581f9b058b9f..5ce09c7300903934b717ea3df794a45ff9966786 100644
--- a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
@@ -197,7 +197,7 @@ void MultipleFieldsTemporalInputTypeView::editControlValueChanged() {
if ((oldValue.isEmpty() && newValue.isEmpty()) || oldValue == newValue) {
element().setNeedsValidityCheck();
} else {
- element().setNonAttributeValue(newValue);
+ element().setNonAttributeValueByUserEdit(newValue);
element().setNeedsStyleRecalc(
SubtreeStyleChange,
StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue));

Powered by Google App Engine
This is Rietveld 408576698