| OLD | NEW |
| 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 12 matching lines...) Expand all Loading... |
| 23 ] interface HTMLInputElement : HTMLElement { | 23 ] interface HTMLInputElement : HTMLElement { |
| 24 [Reflect] attribute DOMString accept; | 24 [Reflect] attribute DOMString accept; |
| 25 [Reflect] attribute DOMString alt; | 25 [Reflect] attribute DOMString alt; |
| 26 [Reflect] attribute DOMString autocomplete; | 26 [Reflect] attribute DOMString autocomplete; |
| 27 [Reflect] attribute boolean autofocus; | 27 [Reflect] attribute boolean autofocus; |
| 28 [Reflect=checked] attribute boolean defaultChecked; | 28 [Reflect=checked] attribute boolean defaultChecked; |
| 29 attribute boolean checked; | 29 attribute boolean checked; |
| 30 [Reflect] attribute DOMString dirName; | 30 [Reflect] attribute DOMString dirName; |
| 31 [Reflect] attribute boolean disabled; | 31 [Reflect] attribute boolean disabled; |
| 32 readonly attribute HTMLFormElement form; | 32 readonly attribute HTMLFormElement form; |
| 33 // The 'files' attribute is intentionally not readonly. |
| 34 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682 |
| 33 attribute FileList files; | 35 attribute FileList files; |
| 34 [Reflect, URL] attribute DOMString formAction; | 36 [Reflect, URL] attribute DOMString formAction; |
| 35 [TreatNullAs=NullString] attribute DOMString formEnctype; | 37 [TreatNullAs=NullString] attribute DOMString formEnctype; |
| 36 [TreatNullAs=NullString] attribute DOMString formMethod; | 38 [TreatNullAs=NullString] attribute DOMString formMethod; |
| 37 [Reflect] attribute boolean formNoValidate; | 39 [Reflect] attribute boolean formNoValidate; |
| 38 [Reflect] attribute DOMString formTarget; | 40 [Reflect] attribute DOMString formTarget; |
| 39 attribute unsigned long height; | 41 attribute unsigned long height; |
| 40 attribute boolean indeterminate; | 42 attribute boolean indeterminate; |
| 41 [EnabledAtRuntime=DataListElement] readonly attribute HTMLElement list; | 43 [EnabledAtRuntime=DataListElement] readonly attribute HTMLElement list; |
| 42 [Reflect] attribute DOMString max; | 44 [Reflect] attribute DOMString max; |
| 43 [SetterRaisesException] attribute long maxLength; | 45 [SetterRaisesException] attribute long maxLength; |
| 44 [Reflect] attribute DOMString min; | 46 [Reflect] attribute DOMString min; |
| 45 [Reflect] attribute boolean multiple; | 47 [Reflect] attribute boolean multiple; |
| 46 [Reflect] attribute DOMString name; | 48 [Reflect] attribute DOMString name; |
| 47 [Reflect] attribute DOMString pattern; | 49 [Reflect] attribute DOMString pattern; |
| 48 [Reflect] attribute DOMString placeholder; | 50 [Reflect] attribute DOMString placeholder; |
| 49 [Reflect] attribute boolean readOnly; | 51 [Reflect] attribute boolean readOnly; |
| 50 [Reflect] attribute boolean required; | 52 [Reflect] attribute boolean required; |
| 51 [SetterRaisesException] attribute unsigned long size; // Changed string -> l
ong -> unsigned long | 53 [SetterRaisesException] attribute unsigned long size; // Changed string -> l
ong -> unsigned long |
| 52 [Reflect, URL] attribute DOMString src; | 54 [Reflect, URL] attribute DOMString src; |
| 53 [Reflect] attribute DOMString step; | 55 [Reflect] attribute DOMString step; |
| 54 [TreatNullAs=NullString] attribute DOMString type; // readonly dropped as pa
rt of DOM level 2 | 56 [TreatNullAs=NullString] attribute DOMString type; // readonly dropped as pa
rt of DOM level 2 |
| 55 [TreatNullAs=NullString] attribute DOMString defaultValue; | 57 [TreatNullAs=NullString] attribute DOMString defaultValue; |
| 56 // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085 | 58 // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085 |
| 57 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString value; | 59 [TreatNullAs=NullString, SetterRaisesException] attribute DOMString value; |
| 58 [SetterRaisesException] attribute Date valueAsDate; | 60 [SetterRaisesException] attribute Date valueAsDate; |
| 59 [SetterRaisesException] attribute double valueAsNumber; | 61 [SetterRaisesException] attribute double valueAsNumber; |
| 62 [EnabledAtRuntime=inputModeAttribute, Reflect] attribute DOMString inputMode
; |
| 60 | 63 |
| 61 [RaisesException] void stepUp(optional long n); | 64 [RaisesException] void stepUp(optional long n); |
| 62 [RaisesException] void stepDown(optional long n); | 65 [RaisesException] void stepDown(optional long n); |
| 63 | 66 |
| 64 attribute unsigned long width; | 67 attribute unsigned long width; |
| 65 readonly attribute boolean willValidate; | 68 readonly attribute boolean willValidate; |
| 66 readonly attribute ValidityState validity; | 69 readonly attribute ValidityState validity; |
| 67 readonly attribute DOMString validationMessage; | 70 readonly attribute DOMString validationMessage; |
| 68 boolean checkValidity(); | 71 boolean checkValidity(); |
| 69 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString]
DOMString error); | 72 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString]
DOMString error); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 89 // Non-standard attributes | 92 // Non-standard attributes |
| 90 [Reflect] attribute DOMString align; | 93 [Reflect] attribute DOMString align; |
| 91 [Reflect, EnabledAtRuntime=directoryUpload] attribute boolean webkitdirector
y; | 94 [Reflect, EnabledAtRuntime=directoryUpload] attribute boolean webkitdirector
y; |
| 92 [Reflect] attribute DOMString useMap; | 95 [Reflect] attribute DOMString useMap; |
| 93 [Reflect] attribute boolean incremental; | 96 [Reflect] attribute boolean incremental; |
| 94 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=speechInput] attribute
boolean webkitSpeech; | 97 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=speechInput] attribute
boolean webkitSpeech; |
| 95 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=speechInput] attribute
boolean webkitGrammar; | 98 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=speechInput] attribute
boolean webkitGrammar; |
| 96 [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventListener onwebkitsp
eechchange; | 99 [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventListener onwebkitsp
eechchange; |
| 97 | 100 |
| 98 // See http://www.w3.org/TR/html-media-capture/ | 101 // See http://www.w3.org/TR/html-media-capture/ |
| 99 [Conditional=MEDIA_CAPTURE] attribute DOMString capture; | 102 [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture; |
| 100 }; | 103 }; |
| OLD | NEW |