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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlElement.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
Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
index a80049ca2c68aa9a3ac16adcac1685cae3cadab5..ae5b2a09616412c6f85dc8465136ab45006b398a 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
@@ -574,6 +574,8 @@ void HTMLFormControlElement::setNeedsValidityCheck() {
fieldSetAncestorsSetNeedsValidityCheck(parentNode());
pseudoStateChanged(CSSSelector::PseudoValid);
pseudoStateChanged(CSSSelector::PseudoInvalid);
+ pseudoStateChanged(CSSSelector::PseudoInRange);
+ pseudoStateChanged(CSSSelector::PseudoOutOfRange);
}
// Updates only if this control already has a validation message.

Powered by Google App Engine
This is Rietveld 408576698