| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index 8642efce92e9f48d25823d94c16738ebd327937d..2c2cecd0395aed50927c30df90dd91b22abe9fa3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -718,6 +718,8 @@ void HTMLInputElement::parseAttribute(const QualifiedName& name,
|
| setNeedsStyleRecalc(
|
| SubtreeStyleChange,
|
| StyleChangeReasonForTracing::fromAttribute(valueAttr));
|
| + if (m_inputType->valueMode() == ValueMode::kValue)
|
| + setTextAsOfLastFormControlChangeEvent(sanitizeValue(value));
|
| }
|
| m_needsToUpdateViewValue = true;
|
| setNeedsValidityCheck();
|
|
|