Skip to content

Commit c51c932

Browse files
pchampingkellogg
authored andcommitted
address issue #519
1 parent 7975314 commit c51c932

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4471,7 +4471,7 @@ <h3>Algorithm</h3>
44714471
</section>
44724472
</section> <!-- end of Flattening Algorithm -->
44734473

4474-
<section><h2>Node Map Generation</h2>
4474+
<section id="node-map-generation"><h2>Node Map Generation</h2>
44754475

44764476
<p>This algorithm creates a <a class="changed">map</a> <var>node map</var> holding an indexed
44774477
representation of the <a>graphs</a> and <a>nodes</a>
@@ -4526,7 +4526,7 @@ <h3>Algorithm</h3>
45264526
<li>Otherwise <var>element</var> is a <a class="changed">map</a>. Reference the
45274527
<a class="changed">map</a> which is the value of the <a>active graph</a>
45284528
<a>entry</a> of <var>node map</var> using the variable <var>graph</var>. If the
4529-
<var>active subject</var> is <code>null</code>, set <var>node</var> to <code>null</code>
4529+
<var>active subject</var> is <code>null</code> <span class="changed">or a <a>map</a></span>, set <var>subject node</var> to <code>null</code>
45304530
otherwise reference the <var>active subject</var> <a>entry</a> of <var>graph</var> using the
45314531
variable <var>subject node</var>.</li>
45324532
<li id="alg-nmg-each-type">For each <var>item</var> in the `@type` <a>entry</a> of <var>element</var>,
@@ -4541,7 +4541,7 @@ <h3>Algorithm</h3>
45414541
<ol>
45424542
<li>If <var>list</var> is <code>null</code>:
45434543
<ol>
4544-
<li>If <var>subject node</var> does not have an <var>active property</var> <a>entry</a>,
4544+
<li>If <var>subject node</var> <span class="changed">(which must necessarily be a <a>map</a>)</span> does not have an <var>active property</var> <a>entry</a>,
45454545
create one and initialize its value to an <a>array</a>
45464546
containing <var>element</var>.</li>
45474547
<li>Otherwise, compare <var>element</var> against every item in the
@@ -4566,7 +4566,7 @@ <h3>Algorithm</h3>
45664566
<var>result</var> for <var>list</var>.</li>
45674567
<li class="changed">If <var>list</var> is <code>null</code>,
45684568
append <var>result</var> to the value of the <var>active property</var> <a>entry</a>
4569-
of <var>subject node</var>.</li>
4569+
of <var>subject node</var> <span class="changed">(which must necessarily be a <a>map</a>)</span>.</li>
45704570
<li class="changed">Otherwise, append <var>result</var> to the <code>@list</code> <a>entry</a> of <var>list</var>.</li>
45714571
</ol>
45724572
</li>
@@ -7102,6 +7102,7 @@ <h2>Changes since Recommendation of 16 July 2020</h2>
71027102
<ul>
71037103
<li>Regenerated definition list, which does not attempt to filter out unused definitions.</li>
71047104
<li>Changed obsolete use of `void` in WebIDL to `undefined`.</li>
7105+
<li>Added some clarifications to the algorithm of <a href="#node-map-generation"></a>.</li>
71057106
</ul>
71067107
</section>
71077108
<section id="ack"

0 commit comments

Comments
 (0)