| Index: Source/core/html/forms/TextFieldInputType.cpp
|
| diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
|
| index 67866290bfacd113fe0f8324473eed59a8d82005..4821fdc23c7446a7bbbf784a944913be537256c0 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(StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Invalid), SubtreeStyleChange);
|
|
|
| didSetValueByUserEdit(wasChanged ? ValueChangeStateChanged : ValueChangeStateNone);
|
| }
|
|
|