diff --git a/dom.bs b/dom.bs index 0fcb607c9..6cd096d1a 100644 --- a/dom.bs +++ b/dom.bs @@ -5370,9 +5370,8 @@ The document element of a

Per the node tree constraints, there can only be one such element. -When an element or one of its -ancestors is the -document element, it is in a document. +

An element is in a document if its root is a +document.


diff --git a/dom.html b/dom.html index 134d9a4d5..8a762be29 100644 --- a/dom.html +++ b/dom.html @@ -69,7 +69,7 @@

DOM

-

Living Standard — Last Updated

+

Living Standard — Last Updated

Participate: @@ -2960,7 +2960,7 @@

The document element of a document is the element whose parent is that document, if it exists, and null otherwise.

Per the node tree constraints, there can only be one such element.

-

When an element or one of its ancestors is the document element, it is in a document.

+

An element is in a document if its root is a document.


namespace = element . namespaceURI