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

Unified Diff: core/dom/Node.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeFilter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/Node.idl
diff --git a/core/dom/Node.idl b/core/dom/Node.idl
index 9c3e3a5199cb3dc3bea44241bf43b0642fbbc07d..d3271a4e502c51c6e8afb744d2e6f86769126bf0 100644
--- a/core/dom/Node.idl
+++ b/core/dom/Node.idl
@@ -22,7 +22,6 @@
[
DependentLifetime,
- TypeChecking=Interface,
] interface Node : EventTarget {
const unsigned short ELEMENT_NODE = 1;
// FIXME: Attr should not inherit from Node. crbug.com/305105
@@ -38,7 +37,7 @@
const unsigned short DOCUMENT_TYPE_NODE = 10;
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12; // historical
- readonly attribute unsigned short nodeType;
+ [ImplementedAs=getNodeType] readonly attribute unsigned short nodeType;
readonly attribute DOMString nodeName;
readonly attribute DOMString? baseURI;
@@ -52,14 +51,14 @@
[PerWorldBindings] readonly attribute Node? lastChild;
[PerWorldBindings] readonly attribute Node? previousSibling;
[PerWorldBindings] readonly attribute Node? nextSibling;
+ [RuntimeEnabled=ShadowDOMV1, MeasureAs=NodeTreeRoot] readonly attribute Node treeRoot;
[CustomElementCallbacks] attribute DOMString? nodeValue;
// FIXME: textContent should not have [TreatUndefinedAs=NullString].
[TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString? textContent;
[CustomElementCallbacks] void normalize();
- // FIXME: The deep argument should have a default value false.
- [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep);
+ [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep = false);
boolean isEqualNode(Node? node);
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
@@ -80,11 +79,7 @@
[CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChild(Node node, Node child);
[CustomElementCallbacks, RaisesException] Node removeChild(Node child);
- // FIXME: namespaceURI and localName have been moved to Element and Attr.
- [MeasureAs=NodeNamespaceURI] readonly attribute DOMString? namespaceURI;
- [MeasureAs=NodeLocalName] readonly attribute DOMString? localName;
-
// FIXME: isSameNode has been removed from the spec:
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=27424
- [MeasureAs=NodeIsSameNode] boolean isSameNode(Node? other);
+ [MeasureAs=NodeIsSameNode, ImplementedAs=isSameNodeDeprecated] boolean isSameNode(Node? other);
};
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeFilter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698