Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.idl

Issue 2106683002: Remove Node.rootNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leave the line Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 [ImplementedAs=inShadowIncludingDocument, Measure] readonly attribute boolea n isConnected; 45 [ImplementedAs=inShadowIncludingDocument, Measure] readonly attribute boolea n isConnected;
46 [PerWorldBindings] readonly attribute Document? ownerDocument; 46 [PerWorldBindings] readonly attribute Document? ownerDocument;
47 [PerWorldBindings] readonly attribute Node? parentNode; 47 [PerWorldBindings] readonly attribute Node? parentNode;
48 [PerWorldBindings] readonly attribute Element? parentElement; 48 [PerWorldBindings] readonly attribute Element? parentElement;
49 [ImplementedAs=hasChildren] boolean hasChildNodes(); 49 [ImplementedAs=hasChildren] boolean hasChildNodes();
50 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes; 50 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes;
51 [PerWorldBindings] readonly attribute Node? firstChild; 51 [PerWorldBindings] readonly attribute Node? firstChild;
52 [PerWorldBindings] readonly attribute Node? lastChild; 52 [PerWorldBindings] readonly attribute Node? lastChild;
53 [PerWorldBindings] readonly attribute Node? previousSibling; 53 [PerWorldBindings] readonly attribute Node? previousSibling;
54 [PerWorldBindings] readonly attribute Node? nextSibling; 54 [PerWorldBindings] readonly attribute Node? nextSibling;
55 [RuntimeEnabled=ShadowDOMV1, MeasureAs=NodeRootNode, ImplementedAs=treeRoot] readonly attribute Node rootNode;
56 55
57 [CEReactions, CustomElementCallbacks] attribute DOMString? nodeValue; 56 [CEReactions, CustomElementCallbacks] attribute DOMString? nodeValue;
58 57
59 // FIXME: textContent should not have [TreatUndefinedAs=NullString]. 58 // FIXME: textContent should not have [TreatUndefinedAs=NullString].
60 [TreatUndefinedAs=NullString, CEReactions, CustomElementCallbacks] attribute DOMString? textContent; 59 [TreatUndefinedAs=NullString, CEReactions, CustomElementCallbacks] attribute DOMString? textContent;
61 [CEReactions, CustomElementCallbacks] void normalize(); 60 [CEReactions, CustomElementCallbacks] void normalize();
62 61
63 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks] Node cl oneNode(optional boolean deep = false); 62 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks] Node cl oneNode(optional boolean deep = false);
64 boolean isEqualNode(Node? otherNode); 63 boolean isEqualNode(Node? otherNode);
65 boolean isSameNode(Node? otherNode); // historical alias of === 64 boolean isSameNode(Node? otherNode); // historical alias of ===
66 65
67 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 66 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
68 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 67 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
69 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 68 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;
70 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 69 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;
71 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 70 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
72 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 71 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
73 unsigned short compareDocumentPosition(Node other); 72 unsigned short compareDocumentPosition(Node other);
74 boolean contains(Node? other); 73 boolean contains(Node? other);
75 74
76 DOMString? lookupPrefix(DOMString? namespaceURI); 75 DOMString? lookupPrefix(DOMString? namespaceURI);
77 DOMString? lookupNamespaceURI(DOMString? prefix); 76 DOMString? lookupNamespaceURI(DOMString? prefix);
78 boolean isDefaultNamespace(DOMString? namespaceURI); 77 boolean isDefaultNamespace(DOMString? namespaceURI);
79 78
80 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e insertBefore(Node node, Node? child); 79 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e insertBefore(Node node, Node? child);
81 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e appendChild(Node node); 80 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e appendChild(Node node);
82 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e replaceChild(Node node, Node child); 81 [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Nod e replaceChild(Node node, Node child);
83 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node child); 82 [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node child);
84 }; 83 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698