| Index: Source/core/html/forms/InputType.cpp
|
| diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp
|
| index 1cc5a8e27342c883fdec4e1f217cb7f2ae7abc68..182b13ec4eed1d54c9c2e4c8f86efc06cfc4412b 100644
|
| --- a/Source/core/html/forms/InputType.cpp
|
| +++ b/Source/core/html/forms/InputType.cpp
|
| @@ -550,7 +550,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(StyleRecalcDueToControlValue, SubtreeStyleChange);
|
| if (!valueChanged)
|
| return;
|
| switch (eventBehavior) {
|
|
|