Index: Source/core/html/forms/InputType.cpp |
diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp |
index 14a949057701edf0e7b6e72f2b5aff23e4f33190..238c38bb47055497971a10feca8e49da300a8989 100644 |
--- a/Source/core/html/forms/InputType.cpp |
+++ b/Source/core/html/forms/InputType.cpp |
@@ -567,7 +567,7 @@ bool InputType::storesValueSeparateFromAttribute() |
void InputType::setValue(const String& sanitizedValue, bool valueChanged, TextFieldEventBehavior eventBehavior) |
{ |
element().setValueInternal(sanitizedValue, eventBehavior); |
- element().setNeedsStyleRecalc(); |
+ element().setNeedsStyleRecalc(SubtreeStyleChange); |
if (!valueChanged) |
return; |
switch (eventBehavior) { |