| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 Node cloneNode(optional boolean deep); | 60 Node cloneNode(optional boolean deep); |
| 61 [CustomElementCallbacks] void normalize(); | 61 [CustomElementCallbacks] void normalize(); |
| 62 | 62 |
| 63 // Introduced in DOM Level 2: | 63 // Introduced in DOM Level 2: |
| 64 [TreatReturnedNullStringAs=Null, MeasureAs=NodeNamespaceURI] readonly attrib
ute DOMString namespaceURI; // Moved to Element and Attr in DOM4. | 64 [TreatReturnedNullStringAs=Null, MeasureAs=NodeNamespaceURI] readonly attrib
ute DOMString namespaceURI; // Moved to Element and Attr in DOM4. |
| 65 [TreatReturnedNullStringAs=Null, MeasureAs=NodeLocalName] readonly attribute
DOMString localName; // Moved to Element and Attr in DOM4. | 65 [TreatReturnedNullStringAs=Null, MeasureAs=NodeLocalName] readonly attribute
DOMString localName; // Moved to Element and Attr in DOM4. |
| 66 | 66 |
| 67 // Introduced in DOM Level 3: | 67 // Introduced in DOM Level 3: |
| 68 [TreatReturnedNullStringAs=Null] readonly attribute DOMString baseURI; | 68 [TreatReturnedNullStringAs=Null] readonly attribute DOMString baseURI; |
| 69 | 69 |
| 70 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, CustomElementCallba
cks] attribute DOMString textContent; | 70 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, TreatUndefinedAs=Nu
llString, CustomElementCallbacks] attribute DOMString textContent; |
| 71 | 71 |
| 72 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N
ode other); // Removed in DOM4. | 72 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N
ode other); // Removed in DOM4. |
| 73 boolean isEqualNode(Node other); | 73 boolean isEqualNode(Node other); |
| 74 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullAs=NullStr
ing] DOMString namespaceURI); | 74 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullAs=NullStr
ing] DOMString namespaceURI); |
| 75 boolean isDefaultNamespace([TreatNullAs=NullString] DOMString namespaceURI); | 75 boolean isDefaultNamespace([TreatNullAs=NullString] DOMString namespaceURI); |
| 76 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([TreatNullAs=N
ullString] DOMString prefix); | 76 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([TreatNullAs=N
ullString] DOMString prefix); |
| 77 | 77 |
| 78 // DocumentPosition | 78 // DocumentPosition |
| 79 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; | 79 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 80 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; | 80 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; |
| 81 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; | 81 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 82 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; | 82 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; |
| 83 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; | 83 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 84 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | 84 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 85 | 85 |
| 86 unsigned short compareDocumentPosition(Node other); | 86 unsigned short compareDocumentPosition(Node other); |
| 87 | 87 |
| 88 // Introduced in DOM4 | 88 // Introduced in DOM4 |
| 89 boolean contains(Node other); | 89 boolean contains(Node other); |
| 90 | 90 |
| 91 // IE extensions | 91 // IE extensions |
| 92 [PerWorldBindings] readonly attribute Element parentElement; | 92 [PerWorldBindings] readonly attribute Element parentElement; |
| 93 }; | 93 }; |
| OLD | NEW |