| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 [MeasureAs=NodeIsSupported] boolean isSupported([Default=Undefined] optional
DOMString feature, | 64 [MeasureAs=NodeIsSupported] boolean isSupported([Default=Undefined] optional
DOMString feature, |
| 65 [TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString version); // Removed in DOM4. | 65 [TreatNullAs=NullString,Defa
ult=Undefined] optional DOMString version); // Removed in DOM4. |
| 66 | 66 |
| 67 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceUR
I] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DO
M4. | 67 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceUR
I] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DO
M4. |
| 68 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R
aisesException=Setter, MeasureAs=NodePrefix] attribute DOMString prefix; // Move
d to Element and Attr in DOM4. | 68 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R
aisesException=Setter, MeasureAs=NodePrefix] attribute DOMString prefix; // Move
d to Element and Attr in DOM4. |
| 69 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName]
readonly attribute DOMString localName; // Moved to Element and Attr in DOM4. | 69 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName]
readonly attribute DOMString localName; // Moved to Element and Attr in DOM4. |
| 70 | 70 |
| 71 // Introduced in DOM Level 3: | 71 // Introduced in DOM Level 3: |
| 72 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing baseURI; | 72 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr
ing baseURI; |
| 73 | 73 |
| 74 // FIXME: the spec says this can also raise on retrieval. | 74 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, C
ustomElementCallbacks] attribute DOMString textContent; |
| 75 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi
ndings, RaisesException=Setter, CustomElementCallbacks] attribute DOMString
textContent; | |
| 76 | 75 |
| 77 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N
ode other); // Removed in DOM4. | 76 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N
ode other); // Removed in DOM4. |
| 78 boolean isEqualNode([Default=Undefined] optional Node other); | 77 boolean isEqualNode([Default=Undefined] optional Node other); |
| 79 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullA
s=NullString,Default=Undefined] optional DOMString namespaceURI); | 78 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullA
s=NullString,Default=Undefined] optional DOMString namespaceURI); |
| 80 boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefi
ned] optional DOMString namespaceURI); | 79 boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefi
ned] optional DOMString namespaceURI); |
| 81 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([Trea
tNullAs=NullString,Default=Undefined] optional DOMString prefix); | 80 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([Trea
tNullAs=NullString,Default=Undefined] optional DOMString prefix); |
| 82 | 81 |
| 83 // DocumentPosition | 82 // DocumentPosition |
| 84 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; | 83 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 85 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; | 84 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; |
| 86 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; | 85 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 87 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; | 86 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; |
| 88 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; | 87 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 89 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | 88 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 90 | 89 |
| 91 unsigned short compareDocumentPosition([Default=Undefined] optional Node
other); | 90 unsigned short compareDocumentPosition([Default=Undefined] optional Node
other); |
| 92 | 91 |
| 93 // Introduced in DOM4 | 92 // Introduced in DOM4 |
| 94 [ImplementedAs=bindingsContains] boolean contains([Default=Undefined] option
al Node other); | 93 [ImplementedAs=bindingsContains] boolean contains([Default=Undefined] option
al Node other); |
| 95 | 94 |
| 96 // IE extensions | 95 // IE extensions |
| 97 [PerWorldBindings] readonly attribute Element parentElement; | 96 [PerWorldBindings] readonly attribute Element parentElement; |
| 98 }; | 97 }; |
| OLD | NEW |