| 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 * | 5 * |
| 5 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 8 * 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. |
| 9 * | 10 * |
| 10 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 29 attribute boolean checked; | 30 attribute boolean checked; |
| 30 attribute [Reflect] DOMString dirName; | 31 attribute [Reflect] DOMString dirName; |
| 31 attribute [Reflect] boolean disabled; | 32 attribute [Reflect] boolean disabled; |
| 32 readonly attribute HTMLFormElement form; | 33 readonly attribute HTMLFormElement form; |
| 33 readonly attribute FileList files; | 34 readonly attribute FileList files; |
| 34 attribute [Reflect, URL] DOMString formAction; | 35 attribute [Reflect, URL] DOMString formAction; |
| 35 attribute [TreatNullAs=NullString] DOMString formEnctype; | 36 attribute [TreatNullAs=NullString] DOMString formEnctype; |
| 36 attribute [TreatNullAs=NullString] DOMString formMethod; | 37 attribute [TreatNullAs=NullString] DOMString formMethod; |
| 37 attribute [Reflect] boolean formNoValidate; | 38 attribute [Reflect] boolean formNoValidate; |
| 38 attribute [Reflect] DOMString formTarget; | 39 attribute [Reflect] DOMString formTarget; |
| 40 attribute unsigned long height; |
| 39 attribute boolean indeterminate; | 41 attribute boolean indeterminate; |
| 40 readonly attribute [Conditional=DATALIST] HTMLElement list; | 42 readonly attribute [Conditional=DATALIST] HTMLElement list; |
| 41 attribute [Reflect] DOMString max; | 43 attribute [Reflect] DOMString max; |
| 42 attribute long maxLength setter raises(DOMException); | 44 attribute long maxLength setter raises(DOMException); |
| 43 attribute [Reflect] DOMString min; | 45 attribute [Reflect] DOMString min; |
| 44 attribute [Reflect] boolean multiple; | 46 attribute [Reflect] boolean multiple; |
| 45 attribute [Reflect] DOMString name; | 47 attribute [Reflect] DOMString name; |
| 46 attribute [Reflect] DOMString pattern; | 48 attribute [Reflect] DOMString pattern; |
| 47 attribute [Reflect] DOMString placeholder; | 49 attribute [Reflect] DOMString placeholder; |
| 48 attribute [Reflect] boolean readOnly; | 50 attribute [Reflect] boolean readOnly; |
| 49 attribute [Reflect] boolean required; | 51 attribute [Reflect] boolean required; |
| 50 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 52 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 51 attribute [ObjCImplementedAsUnsignedLong] DOMString size; // DOM level 2
changed this to a long, but ObjC API is a string | 53 attribute [ObjCImplementedAsUnsignedLong] DOMString size; // DOM level 2
changed this to a long, but ObjC API is a string |
| 52 #else | 54 #else |
| 53 attribute unsigned long size; // Changed string -> long -> unsigned long | 55 attribute unsigned long size; // Changed string -> long -> unsigned long |
| 54 #endif | 56 #endif |
| 55 attribute [Reflect, URL] DOMString src; | 57 attribute [Reflect, URL] DOMString src; |
| 56 attribute [Reflect] DOMString step; | 58 attribute [Reflect] DOMString step; |
| 57 attribute [TreatNullAs=NullString] DOMString type; // readonly dropped a
s part of DOM level 2 | 59 attribute [TreatNullAs=NullString] DOMString type; // readonly dropped a
s part of DOM level 2 |
| 58 attribute [TreatNullAs=NullString] DOMString defaultValue; | 60 attribute [TreatNullAs=NullString] DOMString defaultValue; |
| 59 attribute [TreatNullAs=NullString] DOMString value; | 61 attribute [TreatNullAs=NullString] DOMString value; |
| 60 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP | 62 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP |
| 61 attribute Date valueAsDate setter raises(DOMException); | 63 attribute Date valueAsDate setter raises(DOMException); |
| 62 #endif | 64 #endif |
| 63 attribute double valueAsNumber setter raises(DOMException); | 65 attribute double valueAsNumber setter raises(DOMException); |
| 64 | 66 |
| 65 void stepUp(in [Optional] long n) raises(DOMException); | 67 void stepUp(in [Optional] long n) raises(DOMException); |
| 66 void stepDown(in [Optional] long n) raises(DOMException); | 68 void stepDown(in [Optional] long n) raises(DOMException); |
| 67 | 69 |
| 70 attribute unsigned long width; |
| 68 readonly attribute boolean willValidate; | 71 readonly attribute boolean willValidate; |
| 69 readonly attribute ValidityState validity; | 72 readonly attribute ValidityState validity; |
| 70 readonly attribute DOMString validationMessage; | 73 readonly attribute DOMString validationMessage; |
| 71 boolean checkValidity(); | 74 boolean checkValidity(); |
| 72 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=Null
String] DOMString error); | 75 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=Null
String] DOMString error); |
| 73 | 76 |
| 74 readonly attribute NodeList labels; | 77 readonly attribute NodeList labels; |
| 75 | 78 |
| 76 void select(); | 79 void select(); |
| 77 attribute [Custom] long selectionStart; | 80 attribute [Custom] long selectionStart; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 105 #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT | 108 #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT |
| 106 void setValueForUser(in [TreatNullAs=NullString] DOMString value); | 109 void setValueForUser(in [TreatNullAs=NullString] DOMString value); |
| 107 #endif | 110 #endif |
| 108 | 111 |
| 109 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 112 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 110 // Objective-C extension: | 113 // Objective-C extension: |
| 111 readonly attribute DOMString altDisplayString; | 114 readonly attribute DOMString altDisplayString; |
| 112 readonly attribute URL absoluteImageURL; | 115 readonly attribute URL absoluteImageURL; |
| 113 #endif | 116 #endif |
| 114 | 117 |
| 118 // See http://www.w3.org/TR/html-media-capture/ |
| 119 attribute [Conditional=MEDIA_CAPTURE] DOMString capture; |
| 115 }; | 120 }; |
| 116 } | 121 } |
| OLD | NEW |