From 42a45eb0d1af13e510620b6b29696997f0c7aa3d Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 7 Jun 2016 10:53:11 +0200 Subject: [PATCH] Remove Node.prototype.rootNode This reverts 0316b621cfe8a7aa4ad50a2ec7d10dba902ddccb as rootNode was already used as a name by web developers and we could not agree on an alternative web-compatible name. Fixes #241. --- dom.bs | 7 ------- dom.html | 10 ++-------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/dom.bs b/dom.bs index 578d32959..ebe4d797f 100644 --- a/dom.bs +++ b/dom.bs @@ -3388,7 +3388,6 @@ interface Node : EventTarget { readonly attribute boolean isConnected; readonly attribute Document? ownerDocument; - readonly attribute Node rootNode; readonly attribute Node? parentNode; readonly attribute Element? parentElement; boolean hasChildNodes(); @@ -3626,9 +3625,6 @@ The baseURI attribute's getter must r Returns the node document. Returns null for documents. -
node . {{Node/rootNode}} -
Returns the root. -
node . {{Node/parentNode}}
Returns the parent. @@ -3667,9 +3663,6 @@ if the context object is a document, and the context object

The node document of a document is that document itself. All nodes have a node document at all times. -

The rootNode attribute's getter must return -context object's root. -

The parentNode attribute's getter must return the context object's parent.