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

Unified Diff: Source/core/html/forms/BaseTextInputType.h

Issue 435753003: Implement minlength for <input> and <textarea>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more layout tests Created 6 years, 2 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
Index: Source/core/html/forms/BaseTextInputType.h
diff --git a/Source/core/html/forms/BaseTextInputType.h b/Source/core/html/forms/BaseTextInputType.h
index b6d065cf2776ec71977162892b61c221359ea8df..15be675df651ac8b9a39e6e93b119540b4cdc75f 100644
--- a/Source/core/html/forms/BaseTextInputType.h
+++ b/Source/core/html/forms/BaseTextInputType.h
@@ -43,7 +43,9 @@ protected:
private:
virtual bool tooLong(const String&, HTMLTextFormControlElement::NeedsToCheckDirtyFlag) const OVERRIDE FINAL;
+ virtual bool tooShort(const String&, HTMLTextFormControlElement::NeedsToCheckDirtyFlag) const OVERRIDE FINAL;
virtual int maxLength() const OVERRIDE FINAL;
+ virtual int minLength() const OVERRIDE FINAL;
virtual bool patternMismatch(const String&) const OVERRIDE FINAL;
virtual bool supportsPlaceholder() const OVERRIDE FINAL;
virtual bool supportsSelectionAPI() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698