| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 [PerWorldBindings] readonly attribute Document? ownerDocument; | 45 [PerWorldBindings] readonly attribute Document? ownerDocument; |
| 46 [PerWorldBindings] readonly attribute Node? parentNode; | 46 [PerWorldBindings] readonly attribute Node? parentNode; |
| 47 [PerWorldBindings] readonly attribute Element? parentElement; | 47 [PerWorldBindings] readonly attribute Element? parentElement; |
| 48 [ImplementedAs=hasChildren] boolean hasChildNodes(); | 48 [ImplementedAs=hasChildren] boolean hasChildNodes(); |
| 49 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes; | 49 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes; |
| 50 [PerWorldBindings] readonly attribute Node? firstChild; | 50 [PerWorldBindings] readonly attribute Node? firstChild; |
| 51 [PerWorldBindings] readonly attribute Node? lastChild; | 51 [PerWorldBindings] readonly attribute Node? lastChild; |
| 52 [PerWorldBindings] readonly attribute Node? previousSibling; | 52 [PerWorldBindings] readonly attribute Node? previousSibling; |
| 53 [PerWorldBindings] readonly attribute Node? nextSibling; | 53 [PerWorldBindings] readonly attribute Node? nextSibling; |
| 54 [RuntimeEnabled=ShadowDOMV1, MeasureAs=NodeTreeRoot] readonly attribute Node
treeRoot; |
| 54 | 55 |
| 55 [CustomElementCallbacks] attribute DOMString? nodeValue; | 56 [CustomElementCallbacks] attribute DOMString? nodeValue; |
| 56 // FIXME: textContent should not have [TreatUndefinedAs=NullString]. | 57 // FIXME: textContent should not have [TreatUndefinedAs=NullString]. |
| 57 [TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString? t
extContent; | 58 [TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString? t
extContent; |
| 58 [CustomElementCallbacks] void normalize(); | 59 [CustomElementCallbacks] void normalize(); |
| 59 | 60 |
| 60 [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep = f
alse); | 61 [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep = f
alse); |
| 61 boolean isEqualNode(Node? node); | 62 boolean isEqualNode(Node? node); |
| 62 | 63 |
| 63 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; | 64 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 75 | 76 |
| 76 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefor
e(Node node, Node? child); | 77 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefor
e(Node node, Node? child); |
| 77 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild
(Node node); | 78 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild
(Node node); |
| 78 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChil
d(Node node, Node child); | 79 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChil
d(Node node, Node child); |
| 79 [CustomElementCallbacks, RaisesException] Node removeChild(Node child); | 80 [CustomElementCallbacks, RaisesException] Node removeChild(Node child); |
| 80 | 81 |
| 81 // FIXME: isSameNode has been removed from the spec: | 82 // FIXME: isSameNode has been removed from the spec: |
| 82 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=27424 | 83 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=27424 |
| 83 [MeasureAs=NodeIsSameNode] boolean isSameNode(Node? other); | 84 [MeasureAs=NodeIsSameNode] boolean isSameNode(Node? other); |
| 84 }; | 85 }; |
| OLD | NEW |