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

Unified Diff: Source/core/html/FormAssociatedElement.h

Issue 435753003: Implement minlength for <input> and <textarea>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months 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 | « no previous file | Source/core/html/FormAssociatedElement.cpp » ('j') | Source/core/html/HTMLInputElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/FormAssociatedElement.h
diff --git a/Source/core/html/FormAssociatedElement.h b/Source/core/html/FormAssociatedElement.h
index 6889c31c241d10305b82787c120ddeacdf40ed72..6bf09f901472280e02f462cecd2defb8d2fa13c4 100644
--- a/Source/core/html/FormAssociatedElement.h
+++ b/Source/core/html/FormAssociatedElement.h
@@ -74,13 +74,14 @@ public:
bool customError() const;
// Override functions for patterMismatch, rangeOverflow, rangerUnderflow,
- // stepMismatch, tooLong and valueMissing must call willValidate method.
+ // stepMismatch, tooLong, tooShort and valueMissing must call willValidate method.
virtual bool hasBadInput() const;
virtual bool patternMismatch() const;
virtual bool rangeOverflow() const;
virtual bool rangeUnderflow() const;
virtual bool stepMismatch() const;
virtual bool tooLong() const;
+ virtual bool tooShort() const;
virtual bool typeMismatch() const;
virtual bool valueMissing() const;
virtual String validationMessage() const;
« no previous file with comments | « no previous file | Source/core/html/FormAssociatedElement.cpp » ('j') | Source/core/html/HTMLInputElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698