| 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 07ee1a2913f46159eb75bc6ea820fe260f577862..ccbacf941c52e7fbcd6bdf72929428ead31a5397 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1277,8 +1277,12 @@ void HTMLInputElement::defaultEventHandler(Event* evt) {
|
| HTMLFormElement* formForSubmission = m_inputTypeView->formForSubmission();
|
| // Form may never have been present, or may have been destroyed by code
|
| // responding to the change event.
|
| - if (formForSubmission)
|
| + if (formForSubmission) {
|
| formForSubmission->submitImplicitly(evt, canTriggerImplicitSubmission());
|
| + // We treat implicit submission is something like blur()-then-focus(). So
|
| + // we reset the last value. crbug.com/695349.
|
| + setTextAsOfLastFormControlChangeEvent(value());
|
| + }
|
|
|
| evt->setDefaultHandled();
|
| return;
|
|
|