| Index: third_party/WebKit/Source/core/html/HTMLInputElement.idl
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.idl b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
|
| index 669c8e19aa5d3d984cf719d87fa4aa9e324c7342..30acdef6ecca912bf16feb7fda5012e42d437a7c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.idl
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
|
| @@ -26,8 +26,8 @@ enum SelectionMode { "select", "start", "end", "preserve" };
|
| interface HTMLInputElement : HTMLElement {
|
| [CEReactions, Reflect] attribute DOMString accept;
|
| [CEReactions, Reflect] attribute DOMString alt;
|
| - [CEReactions, Reflect] attribute DOMString autocomplete;
|
| - [CEReactions, Reflect] attribute boolean autofocus;
|
| + [Measure, CEReactions, Reflect] attribute DOMString autocomplete;
|
| + [Measure, CEReactions, Reflect] attribute boolean autofocus;
|
| [CEReactions, Reflect=checked] attribute boolean defaultChecked;
|
| attribute boolean checked;
|
| [CEReactions, Reflect] attribute DOMString dirName;
|
| @@ -41,9 +41,9 @@ interface HTMLInputElement : HTMLElement {
|
| [CEReactions, CustomElementCallbacks] attribute DOMString formMethod;
|
| [CEReactions, Reflect] attribute boolean formNoValidate;
|
| [CEReactions, Reflect] attribute DOMString formTarget;
|
| - [CEReactions, CustomElementCallbacks] attribute unsigned long height;
|
| + [Measure, CEReactions, CustomElementCallbacks] attribute unsigned long height;
|
| attribute boolean indeterminate;
|
| - readonly attribute HTMLElement? list;
|
| + [Measure] readonly attribute HTMLElement? list;
|
| [CEReactions, Reflect] attribute DOMString max;
|
| [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute long maxLength;
|
| [CEReactions, Reflect] attribute DOMString min;
|
| @@ -60,31 +60,31 @@ interface HTMLInputElement : HTMLElement {
|
| [CEReactions, CustomElementCallbacks] attribute DOMString type;
|
| [CEReactions, Reflect=value, CustomElementCallbacks] attribute DOMString defaultValue;
|
| [CEReactions, TreatNullAs=EmptyString, RaisesException=Setter, CustomElementCallbacks] attribute DOMString value;
|
| - [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate;
|
| - [RaisesException=Setter, CustomElementCallbacks] attribute unrestricted double valueAsNumber;
|
| + [Measure, CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate;
|
| + [Measure, RaisesException=Setter, CustomElementCallbacks] attribute unrestricted double valueAsNumber;
|
| // Note: The spec has valueLow and valueHigh for two-valued range controls.
|
| // https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154
|
| - [CEReactions, CustomElementCallbacks] attribute unsigned long width;
|
| + [Measure, CEReactions, CustomElementCallbacks] attribute unsigned long width;
|
|
|
| - [RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1);
|
| - [RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1);
|
| + [Measure, RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1);
|
| + [Measure, RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1);
|
|
|
| - readonly attribute boolean willValidate;
|
| - readonly attribute ValidityState validity;
|
| - readonly attribute DOMString validationMessage;
|
| - boolean checkValidity();
|
| - boolean reportValidity();
|
| - void setCustomValidity(DOMString error);
|
| + [MeasureAs=ValidationAPI] readonly attribute boolean willValidate;
|
| + [MeasureAs=ValidationAPI] readonly attribute ValidityState validity;
|
| + [MeasureAs=ValidationAPI] readonly attribute DOMString validationMessage;
|
| + [MeasureAs=ValidationAPI] boolean checkValidity();
|
| + [MeasureAs=ValidationAPI] boolean reportValidity();
|
| + [MeasureAs=ValidationAPI] void setCustomValidity(DOMString error);
|
|
|
| readonly attribute NodeList labels;
|
|
|
| - void select();
|
| + [Measure] void select();
|
| // FIXME: selectionStart and selectionEnd should be unsigned long.
|
| [RaisesException, ImplementedAs=selectionStartForBinding] attribute long selectionStart;
|
| [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selectionEnd;
|
| [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMString selectionDirection;
|
| - [RaisesException] void setRangeText(DOMString replacement);
|
| - [RaisesException] void setRangeText(DOMString replacement,
|
| + [Measure, RaisesException] void setRangeText(DOMString replacement);
|
| + [Measure, RaisesException] void setRangeText(DOMString replacement,
|
| unsigned long start,
|
| unsigned long end,
|
| optional SelectionMode selectionMode = "preserve");
|
| @@ -96,8 +96,8 @@ interface HTMLInputElement : HTMLElement {
|
|
|
| // obsolete members
|
| // https://html.spec.whatwg.org/#HTMLInputElement-partial
|
| - [CEReactions, Reflect] attribute DOMString align;
|
| - [CEReactions, Reflect] attribute DOMString useMap;
|
| + [Measure, CEReactions, Reflect] attribute DOMString align;
|
| + [Measure, CEReactions, Reflect] attribute DOMString useMap;
|
|
|
| // HTML autocapitalize proposal
|
| // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal.md
|
|
|