You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source
+37-28Lines changed: 37 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -2129,16 +2129,27 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
2129
2129
2130
2130
<p>A <dfn id="insert-an-element-into-a-document" data-x="node is inserted into a document">node is
2131
2131
inserted into a document</dfn> when the <span data-x="concept-node-insert-ext">insertion
2132
-
steps</span> are invoked with it as argument and it is now <span>in a document tree</span>.
2132
+
steps</span> are invoked with it as the argument and it is now <span>in a document tree</span>.
2133
2133
Analogously, a <dfn id="remove-an-element-from-a-document" data-x="node is removed from a
2134
2134
document">node is removed from a document</dfn> when the <span
2135
-
data-x="concept-node-remove-ext">removing steps</span> are invoked with it as argument and it is
2136
-
now no longer <span>in a document tree</span>.</p>
2135
+
data-x="concept-node-remove-ext">removing steps</span> are invoked with it as the argument and it
2136
+
is now no longer <span>in a document tree</span>.</p>
2137
2137
2138
2138
<p>A node <dfn>becomes connected</dfn> when the <span data-x="concept-node-insert-ext">insertion
2139
-
steps</span> are invoked with it as argument and it is now <span>connected</span>. Analogously, a
2140
-
node <dfn>becomes disconnected</dfn> when the <span data-x="concept-node-remove-ext">removing
2141
-
steps</span> are invoked with it as argument and it is now no longer <span>connected</span>.</p>
2139
+
steps</span> are invoked with it as the argument and it is now <span>connected</span>.
2140
+
Analogously, a node <dfn>becomes disconnected</dfn> when the <span
2141
+
data-x="concept-node-remove-ext">removing steps</span> are invoked with it as the argument and it
2142
+
is now no longer <span>connected</span>.</p>
2143
+
2144
+
<p>A node is <dfn>browsing-context connected</dfn> when it is <span>connected</span> and its <span
2145
+
data-x="shadow-including root">shadow-including root</span> has a <span
2146
+
data-x="concept-document-bc">browsing context</span>. A node <dfn>becomes browsing-context
2147
+
connected</dfn> when the <span data-x="concept-node-insert-ext">insertion steps</span> are invoked
2148
+
with it as the argument and it is now <span>browsing-context connected</span>. A node <dfn>becomes
2149
+
browsing-context disconnected</dfn> either when the <span
2150
+
data-x="concept-node-remove-ext">removing steps</span> are invoked with it as the argument and it
2151
+
is now no longer <span>browsing-context connected</span>, or when its <span>shadow-including
2152
+
root</span> no longer has a <span data-x="concept-document-bc">browsing context</span>.
2142
2153
2143
2154
2144
2155
<h4>Scripting</h4>
@@ -3139,7 +3150,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
3139
3150
3140
3151
<li>The <dfn data-noexport="" data-x-href="https://dom.spec.whatwg.org/#concept-tree">tree</dfn> and <dfn data-noexport="" data-x-href="https://dom.spec.whatwg.org/#concept-shadow-tree">shadow tree</dfn> concepts</li>
3141
3152
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-order">tree order</dfn> and <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-tree-order">shadow-including tree order</dfn> concepts</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#in-a-document-tree">in a document tree</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#in-a-document">in a document</dfn> (legacy), and <dfn data-x-href="https://dom.spec.whatwg.org/#connected">connected</dfn> concepts</li>
0 commit comments