From 443023ad7e5a04d050e21a206aff1b5bd66ddc07 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren {{Document}}, {{DocumentType}}, {{DocumentFragment}}, {{ShadowRoot}}, {{Element}}, {{Text}},
+ {{Document}}, {{DocumentType}}, {{DocumentFragment}}, {{Element}}, {{Text}},
{{ProcessingInstruction}}, and {{Comment}} objects (simply called
nodes) participate in a tree, simply named the
node tree.
@@ -1508,7 +1508,6 @@ can be used to explore this matter in more detail.
Zero or more nodes each of which is {{ProcessingInstruction}} or {{Comment}}.
Zero or more nodes each of which is {{Element}}, {{Text}}, {{ProcessingInstruction}}, or
{{Comment}}.
@@ -3460,8 +3459,8 @@ dictionary GetRootNodeOptions {
{{Node}} is an abstract interface and does not exist as node. It
-is used by all nodes ({{Document}}, {{DocumentType}}, {{DocumentFragment}}, {{ShadowRoot}},
-{{Element}}, {{Text}}, {{ProcessingInstruction}}, and {{Comment}}).
+is used by all nodes ({{Document}}, {{DocumentType}}, {{DocumentFragment}}, {{Element}},
+{{Text}}, {{ProcessingInstruction}}, and {{Comment}}).
Each node has an associated
node document, set upon creation,
@@ -3507,7 +3506,7 @@ that is a document.
doctype.
Node tree
-{{Node}} . {{Node/DOCUMENT_FRAGMENT_NODE}}
(11)
- node . {{Node/nodeName}}
@@ -3535,7 +3534,6 @@ that is a document.
#document-fragment
".
@@ -3572,7 +3570,6 @@ the first matching statement, switching on the context object:
#document-fragment
".
@@ -3785,7 +3781,6 @@ following, switching on context object:
of nodes comes out.tree
The most excellent Live DOM Viewer can be used to explore this matter in more detail.
Document
, DocumentType
, DocumentFragment
, ShadowRoot
, Element
, Text
, ProcessingInstruction
, and Comment
objects (simply called nodes) participate in a tree, simply named the node tree.
Document
, DocumentType
, DocumentFragment
, Element
, Text
, ProcessingInstruction
, and Comment
objects (simply called nodes) participate in a tree, simply named the node tree.
A node tree is constrained as follows, expressed as a relationship between the type of node and its allowed children:
Document
@@ -1101,7 +1101,6 @@ ProcessingInstruction
or Comment
.
DocumentFragment
- ShadowRoot
Element
Zero or more nodes each of which is Element
, Text
, ProcessingInstruction
, or Comment
.
Node
is an abstract interface and does not exist as node. It
-is used by all nodes (Document
, DocumentType
, DocumentFragment
, ShadowRoot
, Element
, Text
, ProcessingInstruction
, and Comment
).
+is used by all nodes (Document
, DocumentType
, DocumentFragment
, Element
, Text
, ProcessingInstruction
, and Comment
).
Each node has an associated node document, set upon creation, that is a document.
A node’s node document can be changed by the adopt algorithm.
@@ -2150,7 +2149,7 @@DOCUMENT_TYPE_NODE
(10)
Node
. DOCUMENT_FRAGMENT_NODE
(11)
- DocumentFragment
or ShadowRoot
node.
+ DocumentFragment
node.
node . nodeName
DocumentFragment
- ShadowRoot
#document-fragment
".
@@ -2190,7 +2188,6 @@ DocumentFragment
- ShadowRoot
The nodeName attribute’s getter, when invoked, must return @@ -2209,7 +2206,6 @@
DocumentFragment
- ShadowRoot
#document-fragment
".
DocumentFragment
- ShadowRoot
Element
Text
node descendants of the context object, in tree order.
@@ -2304,7 +2299,6 @@ DocumentFragment
- ShadowRoot
Element
DocumentFragment
- ShadowRoot
DocumentFragment
- ShadowRoot