@@ -2866,11 +2866,12 @@ within a <var>parent</var>, run these steps:
2866
2866
2867
2867
<p> <a lt="Other applicable specifications">Specifications</a> may define
2868
2868
<dfn export id=concept-node-remove-ext>removing steps</dfn> for all or some <a for=/>nodes</a> . The
2869
- algorithm is passed <var ignore> removedNode</var> , and optionally <var ignore> oldParent</var> , as
2870
- indicated in the <a for=/>remove</a> algorithm below.
2869
+ algorithm is passed a <a for=/>node</a> <var ignore> removedNode</var> and a
2870
+ <a for=/>node</a> -or-null <var ignore> oldParent</var> , as indicated in the <a for=/>remove</a>
2871
+ algorithm below.
2871
2872
2872
- <p> To <dfn export id=concept-node-remove>remove</dfn> a <var> node</var> , with an optional
2873
- <i> suppress observers flag</i> , run these steps:
2873
+ <p> To <dfn export id=concept-node-remove>remove</dfn> a <a for=/>node</a> < var> node</var> , with an
2874
+ optional <i> suppress observers flag</i> , run these steps:
2874
2875
2875
2876
<ol>
2876
2877
<li><p> Let <var> parent</var> be <var> node</var> 's <a for=tree>parent</a> .
@@ -2938,7 +2939,7 @@ indicated in the <a for=/>remove</a> algorithm below.
2938
2939
<a>shadow-including tree order</a> , then:
2939
2940
2940
2941
<ol>
2941
- <li><p> Run the <a>removing steps</a> with <var> descendant</var> .
2942
+ <li><p> Run the <a>removing steps</a> with <var> descendant</var> and null .
2942
2943
2943
2944
<li><p> If <var> descendant</var> is <a for=Element>custom</a> and <var> isParentConnected</var>
2944
2945
is true, then <a>enqueue a custom element callback reaction</a> with <var> descendant</var> ,
0 commit comments