| Index: Source/core/html/forms/TextFieldInputType.cpp
|
| diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
|
| index 1794ee257b71fb8ed582fb0e81a60406cb94ab21..d5819c2cd50867818c2d827b44f93266a928bf7f 100644
|
| --- a/Source/core/html/forms/TextFieldInputType.cpp
|
| +++ b/Source/core/html/forms/TextFieldInputType.cpp
|
| @@ -492,7 +492,7 @@ void TextFieldInputType::subtreeHasChanged()
|
| element().setValueFromRenderer(sanitizeValue(convertFromVisibleValue(element().innerEditorValue())));
|
| element().updatePlaceholderVisibility(false);
|
| // Recalc for :invalid change.
|
| - element().setNeedsStyleRecalc(SubtreeStyleChange);
|
| + element().setNeedsStyleRecalc(StyleRecalcDueToInvalidPseudoClass, SubtreeStyleChange);
|
|
|
| didSetValueByUserEdit(wasChanged ? ValueChangeStateChanged : ValueChangeStateNone);
|
| }
|
|
|