| Index: Source/core/html/forms/InputType.cpp
|
| diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp
|
| index 13ed714b80a43a63a95dbe05a7069a727e30d789..109b2a7bb03345474ca1f8bdd6582829026d333a 100644
|
| --- a/Source/core/html/forms/InputType.cpp
|
| +++ b/Source/core/html/forms/InputType.cpp
|
| @@ -545,7 +545,7 @@ bool InputType::shouldDispatchFormControlChangeEvent(String& oldValue, String& n
|
| void InputType::setValue(const String& sanitizedValue, bool valueChanged, TextFieldEventBehavior eventBehavior)
|
| {
|
| element().setValueInternal(sanitizedValue, eventBehavior);
|
| - element().setNeedsStyleRecalc(SubtreeStyleChange);
|
| + element().setNeedsStyleRecalc(StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue), SubtreeStyleChange);
|
| if (!valueChanged)
|
| return;
|
| switch (eventBehavior) {
|
|
|