Skip to content

Commit 2210bce

Browse files
committed
Address comments
1 parent 9319ff4 commit 2210bce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dom.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3045,14 +3045,14 @@ standards that want to define APIs shared between <a for=/>documents</a> and
30453045
<li><p>Let <var>isScriptElement</var> be true if <var>parent</var> is an {{HTMLScriptElement}}
30463046
<a for=/>node</a>; otherwise false.
30473047

3048-
<li><p>Let <var>newNodes</var> be the empty list.
3048+
<li><p>Let <var>newNodes</var> be « ».
30493049

30503050
<li>
30513051
<p><a for=list>For each</a> <var>value</var> of <var>nodes</var>:
30523052

30533053
<ol>
30543054
<li>
3055-
<p>If <var>value</var> is a {{Text}} <a for=/>node</a>, and <var>isScriptElement</var>
3055+
<p>If <var>value</var> is a {{Text}} <a for=/>node</a> and <var>isScriptElement</var>
30563056
is true:
30573057

30583058
<ol>
@@ -3070,14 +3070,14 @@ standards that want to define APIs shared between <a for=/>documents</a> and
30703070

30713071
<ol>
30723072
<li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
3073-
<a for=CharacterData>data</a> is <var>value</var>'s <a for=TrustedScript>\[[Data]]</a>
3074-
internal slot value and <a for=Node>node document</a> is <var>document</var>.
3073+
<a for=CharacterData>data</a> is <var>value</var>'s <a for=TrustedScript>data</a>
3074+
and <a for=Node>node document</a> is <var>document</var>.
30753075

30763076
<li><p><a for=list>Append</a> <var>newValue</var> to <var>newNodes</var>.
30773077
</ol>
30783078

30793079
<li><p>Otherwise, <a for=list>append</a> <var>value</var> to <var>newNodes</var>.
3080-
</ol>
3080+
</ol>
30813081

30823082
<li><p>If <var>newNodes</var> contains one <a for=/>node</a>, then set <var>node</var> to
30833083
<var>newNodes</var>[0].

0 commit comments

Comments
 (0)