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

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

Issue 435753003: Implement minlength for <input> and <textarea>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add support for minlength in remaining places and stop clasping it with maxlength 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/HTMLTextFormControlElement.h
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h
index 0b9f2295b7430e4cb1d5c6a44a8fd0c10dc97dba..08389c193e2a9a29c061f82ea76147fb32a16da0 100644
--- a/Source/core/html/HTMLTextFormControlElement.h
+++ b/Source/core/html/HTMLTextFormControlElement.h
@@ -39,7 +39,8 @@ enum TextFieldEventBehavior { DispatchNoEvent, DispatchChangeEvent, DispatchInpu
class HTMLTextFormControlElement : public HTMLFormControlElementWithState {
public:
- // Common flag for HTMLInputElement::tooLong() and HTMLTextAreaElement::tooLong().
+ // Common flag for HTMLInputElement::tooLong(), HTMLTextAreaElement::tooLong(),
+ // HTMLInputElement::tooShort() and HTMLTextAreaElement::tooShort().
enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag};
// Option of setSelectionRange.
enum SelectionOption {

Powered by Google App Engine
This is Rietveld 408576698