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

Side by Side Diff: Source/core/html/HTMLInputElement.idl

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 28 matching lines...) Expand all
39 [CustomElementCallbacks] attribute DOMString formEnctype; 39 [CustomElementCallbacks] attribute DOMString formEnctype;
40 [CustomElementCallbacks] attribute DOMString formMethod; 40 [CustomElementCallbacks] attribute DOMString formMethod;
41 [Reflect] attribute boolean formNoValidate; 41 [Reflect] attribute boolean formNoValidate;
42 [Reflect] attribute DOMString formTarget; 42 [Reflect] attribute DOMString formTarget;
43 [CustomElementCallbacks] attribute unsigned long height; 43 [CustomElementCallbacks] attribute unsigned long height;
44 attribute boolean indeterminate; 44 attribute boolean indeterminate;
45 [RuntimeEnabled=InputModeAttribute, Reflect] attribute DOMString inputMode; 45 [RuntimeEnabled=InputModeAttribute, Reflect] attribute DOMString inputMode;
46 readonly attribute HTMLElement list; 46 readonly attribute HTMLElement list;
47 [Reflect] attribute DOMString max; 47 [Reflect] attribute DOMString max;
48 [RaisesException=Setter, CustomElementCallbacks] attribute long maxLength; 48 [RaisesException=Setter, CustomElementCallbacks] attribute long maxLength;
49 [RaisesException=Setter, CustomElementCallbacks] attribute long minLength;
49 [Reflect] attribute DOMString min; 50 [Reflect] attribute DOMString min;
50 [Reflect] attribute boolean multiple; 51 [Reflect] attribute boolean multiple;
51 [Reflect] attribute DOMString name; 52 [Reflect] attribute DOMString name;
52 [Reflect] attribute DOMString pattern; 53 [Reflect] attribute DOMString pattern;
53 [Reflect] attribute DOMString placeholder; 54 [Reflect] attribute DOMString placeholder;
54 [Reflect] attribute boolean readOnly; 55 [Reflect] attribute boolean readOnly;
55 [Reflect] attribute boolean required; 56 [Reflect] attribute boolean required;
56 [RaisesException=Setter, CustomElementCallbacks] attribute unsigned long siz e; // Changed string -> long -> unsigned long 57 [RaisesException=Setter, CustomElementCallbacks] attribute unsigned long siz e; // Changed string -> long -> unsigned long
57 [Reflect, URL] attribute DOMString src; 58 [Reflect, URL] attribute DOMString src;
58 [Reflect] attribute DOMString step; 59 [Reflect] attribute DOMString step;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 [Default=Undefined] optional long end, 93 [Default=Undefined] optional long end,
93 optional DOMString direction); 94 optional DOMString direction);
94 95
95 // Non-standard attributes 96 // Non-standard attributes
96 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; 97 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory;
97 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; 98 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental;
98 99
99 // See http://www.w3.org/TR/html-media-capture/ 100 // See http://www.w3.org/TR/html-media-capture/
100 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; 101 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture;
101 }; 102 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698