diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl b/chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl index 6c2fa4e818d..8f44cfb2c30 100644 --- a/chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl +++ b/chromium/third_party/WebKit/Source/core/html/HTMLInputElement.idl @@ -19,6 +19,8 @@ * Boston, MA 02110-1301, USA. */ +// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#htmlinputelement + interface HTMLInputElement : HTMLElement { [Reflect] attribute DOMString accept; [Reflect] attribute DOMString align; @@ -33,7 +35,7 @@ interface HTMLInputElement : HTMLElement { // The 'files' attribute is intentionally not readonly. // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682 attribute FileList files; - [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString formAction; + [Reflect, URL, LogActivity=SetterOnly] attribute DOMString formAction; [CustomElementCallbacks] attribute DOMString formEnctype; [CustomElementCallbacks] attribute DOMString formMethod; [Reflect] attribute boolean formNoValidate; @@ -41,7 +43,7 @@ interface HTMLInputElement : HTMLElement { [CustomElementCallbacks] attribute unsigned long height; attribute boolean indeterminate; [RuntimeEnabled=InputModeAttribute, Reflect] attribute DOMString inputMode; - [RuntimeEnabled=DataListElement] readonly attribute HTMLElement list; + readonly attribute HTMLElement list; [Reflect] attribute DOMString max; [RaisesException=Setter, CustomElementCallbacks] attribute long maxLength; [Reflect] attribute DOMString min; @@ -52,15 +54,15 @@ interface HTMLInputElement : HTMLElement { [Reflect] attribute boolean readOnly; [Reflect] attribute boolean required; [RaisesException=Setter, CustomElementCallbacks] attribute unsigned long size; // Changed string -> long -> unsigned long - [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src; + [Reflect, URL, LogActivity=SetterOnly] attribute DOMString src; [Reflect] attribute DOMString step; [CustomElementCallbacks] attribute DOMString type; // readonly dropped as part of DOM level 2 [CustomElementCallbacks] attribute DOMString defaultValue; [Reflect] attribute DOMString useMap; // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085 [TreatNullAs=NullString, RaisesException=Setter, CustomElementCallbacks] attribute DOMString value; - [RaisesException=Setter, CustomElementCallbacks] attribute Date valueAsDate; - [RaisesException=Setter, CustomElementCallbacks] attribute double valueAsNumber; + [RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate; + [RaisesException=Setter, CustomElementCallbacks] attribute unrestricted double valueAsNumber; [RaisesException, CustomElementCallbacks] void stepUp(optional long n); [RaisesException, CustomElementCallbacks] void stepDown(optional long n); @@ -83,7 +85,7 @@ interface HTMLInputElement : HTMLElement { [RaisesException] void setRangeText(DOMString replacement, unsigned long start, unsigned long end, - [Default=NullString] optional DOMString selectionMode); + optional DOMString selectionMode = null); [RaisesException, ImplementedAs=setSelectionRangeForBinding] void setSelectionRange([Default=Undefined] optional long start, @@ -91,11 +93,8 @@ interface HTMLInputElement : HTMLElement { optional DOMString direction); // Non-standard attributes - [Reflect, RuntimeEnabled=DirectoryUpload] attribute boolean webkitdirectory; - [Reflect] attribute boolean incremental; - [Conditional=INPUT_SPEECH, Reflect, RuntimeEnabled=SpeechInput] attribute boolean webkitSpeech; - [Conditional=INPUT_SPEECH, Reflect, RuntimeEnabled=SpeechInput] attribute boolean webkitGrammar; - [Conditional=INPUT_SPEECH] attribute EventHandler onwebkitspeechchange; + [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdirectory; + [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; // See http://www.w3.org/TR/html-media-capture/ [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture; |