Changeset 109562 in webkit
- Timestamp:
- Mar 2, 2012 5:24:36 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r109561 r109562 1 2012-03-02 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Make order of attribute/method in HTMLSelectElement.idl as same as specification 4 https://bugs.webkit.org/show_bug.cgi?id=80097 5 6 Reviewed by Kent Tamura. 7 8 No new tests. No behavior changes. 9 10 * html/HTMLSelectElement.idl: Reorder attribute/method position. 11 1 12 2012-03-02 Pavel Podivilov <podivilov@chromium.org> 2 13 -
trunk/Source/WebCore/html/HTMLSelectElement.idl
r107304 r109562 25 25 CustomIndexedSetter 26 26 ] HTMLSelectElement : HTMLElement { 27 attribute [Reflect] boolean autofocus; 28 attribute [Reflect] boolean disabled; 29 readonly attribute HTMLFormElement form; 30 attribute boolean multiple; 31 attribute [TreatNullAs=NullString] DOMString name; 32 attribute [Reflect] boolean required; 33 attribute long size; 34 27 35 readonly attribute DOMString type; 28 attribute long selectedIndex; 29 attribute [TreatNullAs=NullString] DOMString value; 30 31 // Modified in DOM Level 2: 36 37 readonly attribute HTMLOptionsCollection options; 32 38 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 39 // DOM Level 2 changes type of length attribute to unsigned long, 40 // for compatibility we keep DOM Level 1 definition. 33 41 readonly attribute long length; 34 42 #else 35 43 attribute unsigned long length setter raises (DOMException); 36 44 #endif 37 38 readonly attribute HTMLFormElement form; 39 readonly attribute ValidityState validity; 40 readonly attribute boolean willValidate; 41 readonly attribute DOMString validationMessage; 42 boolean checkValidity(); 43 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 44 45 // Modified in DOM Level 2: 46 readonly attribute HTMLOptionsCollection options; 47 48 attribute [Reflect] boolean disabled; 49 attribute [Reflect] boolean autofocus; 50 attribute boolean multiple; 51 attribute [TreatNullAs=NullString] DOMString name; 52 attribute [Reflect] boolean required; 53 attribute long size; 54 55 [ObjCLegacyUnnamedParameters] void add(in [Optional=DefaultIsUndefined] HTMLElement element, 45 Node item(in [IsIndex,Optional=DefaultIsUndefined] unsigned long index); 46 Node namedItem(in [Optional=DefaultIsUndefined] DOMString name); 47 [ObjCLegacyUnnamedParameters] void add(in [Optional=DefaultIsUndefined] HTMLElement element, 56 48 in [Optional=DefaultIsUndefined] HTMLElement before) raises(DOMException); 57 58 49 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 59 50 // In JavaScript, we support both option index and option object parameters. … … 63 54 void remove(in long index); 64 55 #endif 56 attribute long selectedIndex; 57 attribute [TreatNullAs=NullString] DOMString value; 65 58 66 // These methods are not in DOM Level 2 IDL, but are mentioned in the standard: 67 // "The contained options can be directly accessed through the select element as a collection." 68 Node item(in [IsIndex,Optional=DefaultIsUndefined] unsigned long index); 69 Node namedItem(in [Optional=DefaultIsUndefined] DOMString name); 59 readonly attribute boolean willValidate; 60 readonly attribute ValidityState validity; 61 readonly attribute DOMString validationMessage; 62 boolean checkValidity(); 63 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 64 70 65 readonly attribute NodeList labels; 71 66 }; 72 73 67 }
Note: See TracChangeset
for help on using the changeset viewer.