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

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 layout tests for minlength & maxlength together; fix comments 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 d5bca9ac29544d32e2a82af0b257750b8df864a0..0efe62af54dd605d63c78e712074af87bdc7a9e7 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