| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 62 // DOM4 |
| 63 // iht.com relies on id returning the empty string when no id is present. | 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. | 64 // Other browsers do this as well. So we don't convert null to JS null. |
| 65 [Reflect] attribute DOMString id; | 65 [Reflect] attribute DOMString id; |
| 66 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing namespaceURI; |
| 67 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, S
etterRaisesException] attribute DOMString prefix; |
| 68 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing localName; |
| 66 | 69 |
| 67 // Common extensions | 70 // Common extensions |
| 68 | 71 |
| 69 [PerWorldBindings] readonly attribute long offsetLeft; | 72 [PerWorldBindings] readonly attribute long offsetLeft; |
| 70 [PerWorldBindings] readonly attribute long offsetTop; | 73 [PerWorldBindings] readonly attribute long offsetTop; |
| 71 [PerWorldBindings] readonly attribute long offsetWidth; | 74 [PerWorldBindings] readonly attribute long offsetWidth; |
| 72 [PerWorldBindings] readonly attribute long offsetHeight; | 75 [PerWorldBindings] readonly attribute long offsetHeight; |
| 73 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; | 76 [ImplementedAs=bindingsOffsetParent, PerWorldBindings] readonly attribute El
ement offsetParent; |
| 74 [PerWorldBindings] readonly attribute long clientLeft; | 77 [PerWorldBindings] readonly attribute long clientLeft; |
| 75 [PerWorldBindings] readonly attribute long clientTop; | 78 [PerWorldBindings] readonly attribute long clientTop; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchstart; | 206 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchstart; |
| 204 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchmove; | 207 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchmove; |
| 205 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchend; | 208 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchend; |
| 206 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchcancel; | 209 [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHan
dler ontouchcancel; |
| 207 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc
hange; | 210 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenc
hange; |
| 208 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene
rror; | 211 [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreene
rror; |
| 209 }; | 212 }; |
| 210 | 213 |
| 211 Element implements ParentNode; | 214 Element implements ParentNode; |
| 212 Element implements ChildNode; | 215 Element implements ChildNode; |
| OLD | NEW |