| Index: Source/core/html/HTMLFormElement.cpp
|
| diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
|
| index 6504dbf561d24d60aba8a1d4d529e6c5dc57f1bc..425ae2b406e1b74ef8734b7c18b87d0647d18590 100644
|
| --- a/Source/core/html/HTMLFormElement.cpp
|
| +++ b/Source/core/html/HTMLFormElement.cpp
|
| @@ -721,7 +721,8 @@ void HTMLFormElement::setNeedsValidityCheck()
|
| // For now unconditionally order style recalculation, which triggers
|
| // validity recalculation. In the near future, implement validity cache and
|
| // recalculate style only if it changed.
|
| - setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Invalid));
|
| + pseudoStateChanged(CSSSelector::PseudoValid);
|
| + pseudoStateChanged(CSSSelector::PseudoInvalid);
|
| }
|
|
|
| bool HTMLFormElement::checkValidity()
|
|
|