Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp

Issue 2556423002: Missing style invalidation for :in-range and :out-of-range. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698