HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6092

SVNBugCommentTime (UTC)
609212247Associate sectioning elements with their sections, in case anyone actually tries to use this algorithm as written even for sections.2011-05-06 00:20
Index: source
===================================================================
--- source	(revision 6091)
+++ source	(revision 6092)
@@ -19160,6 +19160,9 @@
       <span title="concept-section">section</span> for the <var
       title="">current outlinee</var> element.</p>
 
+      <p>Associate <var title="">current outlinee</var> with <var
+      title="">current section</var>.</p>
+
       <p>Let there be a new <span>outline</span> for the new <var
       title="">current outlinee</var>, initialized with just the new
       <var title="">current section</var> as the only <span
@@ -19309,10 +19312,11 @@
     </dl>
 
     <p id="associatedSection">In addition, whenever you exit a node,
-    after doing the steps above, if <var title="">current
-    section</var> is not null, associate the node with the <span
-    title="concept-section">section</span> <var title="">current
-    section</var>.</p>
+    after doing the steps above, if the node is not associated with a
+    <span title="concept-section">section</span> yet and <var
+    title="">current section</var> is not null, associate the node
+    with the <span title="concept-section">section</span> <var
+    title="">current section</var>.</p>
 
    </li>
 

|