Changeset 109067 in webkit
- Timestamp:
- Feb 27, 2012 8:17:32 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r109065 r109067 1 2012-02-27 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Make order of attribute/method in HTMLInputElement.idl as same as specification 4 https://bugs.webkit.org/show_bug.cgi?id=79622 5 6 For ease of maintainability, this patch reorders attributes and methods declaration 7 matching with specification. 8 9 Reviewed by Adam Barth. 10 11 No new tests. No behavior change. 12 13 * html/HTMLInputElement.idl: Reorder and remove obsolete comments. 14 1 15 2012-02-27 Luke Macpherson <macpherson@chromium.org> 2 16 -
trunk/Source/WebCore/html/HTMLInputElement.idl
r107483 r109067 22 22 23 23 interface HTMLInputElement : HTMLElement { 24 attribute [TreatNullAs=NullString] DOMString defaultValue; 24 attribute [Reflect] DOMString accept; 25 attribute [Reflect] DOMString alt; 26 attribute [Reflect] DOMString autocomplete; 27 attribute [Reflect] boolean autofocus; 25 28 attribute [Reflect=checked] boolean defaultChecked; 29 attribute boolean checked; 26 30 attribute [Reflect] DOMString dirName; 31 attribute [Reflect] boolean disabled; 27 32 readonly attribute HTMLFormElement form; 33 readonly attribute FileList files; 28 34 attribute [Reflect, URL] DOMString formAction; 29 35 attribute [TreatNullAs=NullString] DOMString formEnctype; … … 31 37 attribute [Reflect] boolean formNoValidate; 32 38 attribute [Reflect] DOMString formTarget; 33 readonly attribute ValidityState validity; 34 attribute [Reflect] DOMString accept; 35 attribute [Reflect] DOMString align; 36 attribute [Reflect] DOMString alt; 37 attribute boolean checked; 38 attribute [Reflect] boolean disabled; 39 attribute [Reflect] boolean autofocus; 40 attribute [Reflect] DOMString autocomplete; 39 attribute boolean indeterminate; 41 40 readonly attribute [Conditional=DATALIST] HTMLElement list; 42 41 attribute [Reflect] DOMString max; … … 44 43 attribute [Reflect] DOMString min; 45 44 attribute [Reflect] boolean multiple; 46 attribute [Conditional=DIRECTORY_UPLOAD, Reflect] boolean webkitdirectory;47 45 attribute [Reflect] DOMString name; 48 46 attribute [Reflect] DOMString pattern; … … 51 49 attribute [Reflect] boolean required; 52 50 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 53 attribute [Reflect] DOMString accessKey;54 51 attribute [ObjCImplementedAsUnsignedLong] DOMString size; // DOM level 2 changed this to a long, but ObjC API is a string 55 52 #else … … 59 56 attribute [Reflect] DOMString step; 60 57 attribute [TreatNullAs=NullString] DOMString type; // readonly dropped as part of DOM level 2 61 attribute [ Reflect] DOMString useMap;58 attribute [TreatNullAs=NullString] DOMString defaultValue; 62 59 attribute [TreatNullAs=NullString] DOMString value; 63 60 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP … … 65 62 #endif 66 63 attribute double valueAsNumber setter raises(DOMException); 67 readonly attribute [Conditional=DATALIST] HTMLOptionElement selectedOption;68 attribute [Reflect] boolean incremental;69 64 70 65 void stepUp(in [Optional] long n) raises(DOMException); … … 72 67 73 68 readonly attribute boolean willValidate; 69 readonly attribute ValidityState validity; 74 70 readonly attribute DOMString validationMessage; 75 71 boolean checkValidity(); 76 72 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 73 74 readonly attribute NodeList labels; 75 77 76 void select(); 77 attribute [Custom] long selectionStart; 78 attribute [Custom] long selectionEnd; 79 attribute [Custom] DOMString selectionDirection; 80 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 81 [Custom] void setSelectionRange(in long start, in long end); 82 #else 83 [Custom] void setSelectionRange(in [Optional=DefaultIsUndefined] long start, 84 in [Optional=DefaultIsUndefined] long end, 85 in [Optional] DOMString direction); 86 #endif 87 88 // Non-standard attributes 89 attribute [Reflect] DOMString align; 90 attribute [Conditional=DIRECTORY_UPLOAD, Reflect] boolean webkitdirectory; 91 attribute [Reflect] DOMString useMap; 92 readonly attribute [Conditional=DATALIST] HTMLOptionElement selectedOption; 93 attribute [Reflect] boolean incremental; 94 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitSpeech; 95 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitGrammar; 96 attribute [Conditional=INPUT_SPEECH, NotEnumerable] EventListener onwebkitspeechchange; 97 98 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 99 attribute [Reflect] DOMString accessKey; 100 #endif 78 101 79 102 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C … … 85 108 #endif 86 109 87 // WinIE extension:88 attribute boolean indeterminate;89 90 attribute [Custom] long selectionStart;91 attribute [Custom] long selectionEnd;92 attribute [Custom] DOMString selectionDirection;93 94 110 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 95 [Custom] void setSelectionRange(in long start, in long end);96 #else97 [Custom] void setSelectionRange(in [Optional=DefaultIsUndefined] long start,98 in [Optional=DefaultIsUndefined] long end,99 in [Optional] DOMString direction);100 #endif101 102 #if defined(LANGUAGE_OBJECTIVE_C)103 111 // Objective-C extension: 104 112 readonly attribute DOMString altDisplayString; … … 106 114 #endif 107 115 108 readonly attribute FileList files;109 readonly attribute NodeList labels;110 111 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitSpeech;112 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolean webkitGrammar;113 attribute [Conditional=INPUT_SPEECH, NotEnumerable] EventListener onwebkitspeechchange;114 116 }; 115 116 117 }
Note: See TracChangeset
for help on using the changeset viewer.