| Index: third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| index 8aa3a4a9274f9b36b6e5790d1aa81875bfd371f8..6fcf15a5adc8404e150a6c5ff8b3410206667172 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
|
| @@ -297,6 +297,13 @@ bool InputType::isOutOfRange(const String& value) const {
|
| numericValue > stepRange.maximum());
|
| }
|
|
|
| +void InputType::inRangeChanged() const {
|
| + if (isSteppable()) {
|
| + element().pseudoStateChanged(CSSSelector::PseudoInRange);
|
| + element().pseudoStateChanged(CSSSelector::PseudoOutOfRange);
|
| + }
|
| +}
|
| +
|
| bool InputType::stepMismatch(const String& value) const {
|
| if (!isSteppable())
|
| return false;
|
|
|