OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 [Default=Undefined] optional
DOMString localName); | 52 [Default=Undefined] optional
DOMString localName); |
53 Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, | 53 Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, |
54 [Default=Undefined] optional DOMStrin
g localName); | 54 [Default=Undefined] optional DOMStrin
g localName); |
55 [RaisesException] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChec
king] optional Attr newAttr); | 55 [RaisesException] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChec
king] optional Attr newAttr); |
56 boolean hasAttribute(DOMString name); | 56 boolean hasAttribute(DOMString name); |
57 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, | 57 boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional
DOMString namespaceURI, |
58 [Default=Undefined] optional DOMString
localName); | 58 [Default=Undefined] optional DOMString
localName); |
59 | 59 |
60 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 60 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
61 | 61 |
| 62 // DOM4 |
| 63 // iht.com relies on id returning the empty string when no id is present. |
| 64 // Other browsers do this as well. So we don't convert null to JS null. |
| 65 [Reflect] attribute DOMString id; |
| 66 |
62 // Common extensions | 67 // Common extensions |
63 | 68 |
64 [PerWorldBindings] readonly attribute long offsetLeft; | 69 [PerWorldBindings] readonly attribute long offsetLeft; |
65 [PerWorldBindings] readonly attribute long offsetTop; | 70 [PerWorldBindings] readonly attribute long offsetTop; |
66 [PerWorldBindings] readonly attribute long offsetWidth; | 71 [PerWorldBindings] readonly attribute long offsetWidth; |
67 [PerWorldBindings] readonly attribute long offsetHeight; | 72 [PerWorldBindings] readonly attribute long offsetHeight; |
68 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; | 73 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; |
69 [PerWorldBindings] readonly attribute long clientLeft; | 74 [PerWorldBindings] readonly attribute long clientLeft; |
70 [PerWorldBindings] readonly attribute long clientTop; | 75 [PerWorldBindings] readonly attribute long clientTop; |
71 [PerWorldBindings] readonly attribute long clientWidth; | 76 [PerWorldBindings] readonly attribute long clientWidth; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; | 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchmove; |
199 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; | 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchend; |
200 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; | 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventLis
tener ontouchcancel; |
201 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; | 206 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
change; |
202 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; | 207 [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreen
error; |
203 }; | 208 }; |
204 | 209 |
205 Element implements ParentNode; | 210 Element implements ParentNode; |
206 Element implements ChildNode; | 211 Element implements ChildNode; |
207 | 212 |
OLD | NEW |