| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 [PerWorldBindings] readonly attribute Node? lastChild; | 50 [PerWorldBindings] readonly attribute Node? lastChild; |
| 51 [PerWorldBindings] readonly attribute Node? previousSibling; | 51 [PerWorldBindings] readonly attribute Node? previousSibling; |
| 52 [PerWorldBindings] readonly attribute Node? nextSibling; | 52 [PerWorldBindings] readonly attribute Node? nextSibling; |
| 53 [MeasureAs=NodeGetRootNode] Node getRootNode(optional GetRootNodeOptions opt
ions); | 53 [MeasureAs=NodeGetRootNode] Node getRootNode(optional GetRootNodeOptions opt
ions); |
| 54 | 54 |
| 55 [CEReactions, CustomElementCallbacks] attribute DOMString? nodeValue; | 55 [CEReactions, CustomElementCallbacks] attribute DOMString? nodeValue; |
| 56 | 56 |
| 57 [CEReactions, CustomElementCallbacks] attribute DOMString? textContent; | 57 [CEReactions, CustomElementCallbacks] attribute DOMString? textContent; |
| 58 [CEReactions, CustomElementCallbacks] void normalize(); | 58 [CEReactions, CustomElementCallbacks] void normalize(); |
| 59 | 59 |
| 60 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks] Node cl
oneNode(optional boolean deep = false); | 60 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks, RaisesE
xception] Node cloneNode(optional boolean deep = false); |
| 61 boolean isEqualNode(Node? otherNode); | 61 boolean isEqualNode(Node? otherNode); |
| 62 boolean isSameNode(Node? otherNode); // historical alias of === | 62 boolean isSameNode(Node? otherNode); // historical alias of === |
| 63 | 63 |
| 64 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; | 64 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 65 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; | 65 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; |
| 66 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; | 66 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 67 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; | 67 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; |
| 68 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; | 68 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 69 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | 69 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 70 unsigned short compareDocumentPosition(Node other); | 70 unsigned short compareDocumentPosition(Node other); |
| 71 boolean contains(Node? other); | 71 boolean contains(Node? other); |
| 72 | 72 |
| 73 DOMString? lookupPrefix(DOMString? namespaceURI); | 73 DOMString? lookupPrefix(DOMString? namespaceURI); |
| 74 DOMString? lookupNamespaceURI(DOMString? prefix); | 74 DOMString? lookupNamespaceURI(DOMString? prefix); |
| 75 boolean isDefaultNamespace(DOMString? namespaceURI); | 75 boolean isDefaultNamespace(DOMString? namespaceURI); |
| 76 | 76 |
| 77 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e insertBefore(Node node, Node? child); | 77 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e insertBefore(Node node, Node? child); |
| 78 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e appendChild(Node node); | 78 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e appendChild(Node node); |
| 79 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e replaceChild(Node node, Node child); | 79 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod
e replaceChild(Node node, Node child); |
| 80 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node
child); | 80 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node
child); |
| 81 }; | 81 }; |
| OLD | NEW |