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

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

Issue 1855823003: Implement Node.isConnected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change inDocument to inShadowIncludingDocument Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 const unsigned short COMMENT_NODE = 8; 35 const unsigned short COMMENT_NODE = 8;
36 const unsigned short DOCUMENT_NODE = 9; 36 const unsigned short DOCUMENT_NODE = 9;
37 const unsigned short DOCUMENT_TYPE_NODE = 10; 37 const unsigned short DOCUMENT_TYPE_NODE = 10;
38 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; 38 const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
39 const unsigned short NOTATION_NODE = 12; // historical 39 const unsigned short NOTATION_NODE = 12; // historical
40 [ImplementedAs=getNodeType] readonly attribute unsigned short nodeType; 40 [ImplementedAs=getNodeType] readonly attribute unsigned short nodeType;
41 readonly attribute DOMString nodeName; 41 readonly attribute DOMString nodeName;
42 42
43 readonly attribute DOMString? baseURI; 43 readonly attribute DOMString? baseURI;
44 44
45 [ImplementedAs=inShadowIncludingDocument] readonly attribute boolean isConne cted;
45 [PerWorldBindings] readonly attribute Document? ownerDocument; 46 [PerWorldBindings] readonly attribute Document? ownerDocument;
46 [PerWorldBindings] readonly attribute Node? parentNode; 47 [PerWorldBindings] readonly attribute Node? parentNode;
47 [PerWorldBindings] readonly attribute Element? parentElement; 48 [PerWorldBindings] readonly attribute Element? parentElement;
48 [ImplementedAs=hasChildren] boolean hasChildNodes(); 49 [ImplementedAs=hasChildren] boolean hasChildNodes();
49 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes; 50 [SameObject, PerWorldBindings] readonly attribute NodeList childNodes;
50 [PerWorldBindings] readonly attribute Node? firstChild; 51 [PerWorldBindings] readonly attribute Node? firstChild;
51 [PerWorldBindings] readonly attribute Node? lastChild; 52 [PerWorldBindings] readonly attribute Node? lastChild;
52 [PerWorldBindings] readonly attribute Node? previousSibling; 53 [PerWorldBindings] readonly attribute Node? previousSibling;
53 [PerWorldBindings] readonly attribute Node? nextSibling; 54 [PerWorldBindings] readonly attribute Node? nextSibling;
54 [MeasureAs=NodeRootNode, ImplementedAs=treeRoot] readonly attribute Node roo tNode; 55 [MeasureAs=NodeRootNode, ImplementedAs=treeRoot] readonly attribute Node roo tNode;
(...skipping 18 matching lines...) Expand all
73 74
74 DOMString? lookupPrefix(DOMString? namespaceURI); 75 DOMString? lookupPrefix(DOMString? namespaceURI);
75 DOMString? lookupNamespaceURI(DOMString? prefix); 76 DOMString? lookupNamespaceURI(DOMString? prefix);
76 boolean isDefaultNamespace(DOMString? namespaceURI); 77 boolean isDefaultNamespace(DOMString? namespaceURI);
77 78
78 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefor e(Node node, Node? child); 79 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefor e(Node node, Node? child);
79 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild (Node node); 80 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild (Node node);
80 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChil d(Node node, Node child); 81 [CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChil d(Node node, Node child);
81 [CustomElementCallbacks, RaisesException] Node removeChild(Node child); 82 [CustomElementCallbacks, RaisesException] Node removeChild(Node child);
82 }; 83 };
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698