Index: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
index 083729d52000afaaf27fbbb6e4cfed330c50d442..6b77e9f17f4026cfcdb9e0e566e7045a9a574d4d 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
@@ -504,6 +504,8 @@ void TextFieldInputType::subtreeHasChanged() { |
element().updatePlaceholderVisibility(); |
element().pseudoStateChanged(CSSSelector::PseudoValid); |
element().pseudoStateChanged(CSSSelector::PseudoInvalid); |
+ element().pseudoStateChanged(CSSSelector::PseudoInRange); |
+ element().pseudoStateChanged(CSSSelector::PseudoOutOfRange); |
didSetValueByUserEdit(wasChanged ? ValueChangeStateChanged |
: ValueChangeStateNone); |