Index: Source/core/html/FormAssociatedElement.cpp |
diff --git a/Source/core/html/FormAssociatedElement.cpp b/Source/core/html/FormAssociatedElement.cpp |
index d5f32a3c9c6640c3a98305f2476c16fdbda2bb4e..38919a38d064182706cb68896478ac76afdf0ade 100644 |
--- a/Source/core/html/FormAssociatedElement.cpp |
+++ b/Source/core/html/FormAssociatedElement.cpp |
@@ -239,6 +239,11 @@ bool FormAssociatedElement::tooLong() const |
return false; |
} |
+bool FormAssociatedElement::tooShort() const |
+{ |
+ return false; |
+} |
+ |
bool FormAssociatedElement::typeMismatch() const |
{ |
return false; |
@@ -247,7 +252,8 @@ bool FormAssociatedElement::typeMismatch() const |
bool FormAssociatedElement::valid() const |
{ |
bool someError = typeMismatch() || stepMismatch() || rangeUnderflow() || rangeOverflow() |
- || tooLong() || patternMismatch() || valueMissing() || hasBadInput() || customError(); |
+ || tooLong() || tooShort() || patternMismatch() || valueMissing() || hasBadInput() |
+ || customError(); |
return !someError; |
} |