[html5] r6092 - [] (0) Associate sectioning elements with their sections, in case anyone actuall [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 5 17:20:42 PDT 2011


Author: ianh
Date: 2011-05-05 17:20:41 -0700 (Thu, 05 May 2011)
New Revision: 6092

Modified:
   complete.html
   index
   source
Log:
[] (0) Associate sectioning elements with their sections, in case anyone actually tries to use this algorithm as written even for sections.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12247

Modified: complete.html
===================================================================
--- complete.html	2011-05-06 00:16:52 UTC (rev 6091)
+++ complete.html	2011-05-06 00:20:41 UTC (rev 6092)
@@ -17871,6 +17871,8 @@
       <p>Let <var title="">current section</var> be a newly created
       <a href=#concept-section title=concept-section>section</a> 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 <a href=#outline>outline</a> for the new <var title="">current outlinee</var>, initialized with just the new
       <var title="">current section</var> as the only <a href=#concept-section title=concept-section>section</a> in the outline.</p>
 
@@ -17993,9 +17995,9 @@
      <dd><p>Do nothing.</dd>
 
     </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 <a href=#concept-section title=concept-section>section</a> <var title="">current
-    section</var>.</p>
+    after doing the steps above, if the node is not associated with a
+    <a href=#concept-section title=concept-section>section</a> yet and <var title="">current section</var> is not null, associate the node
+    with the <a href=#concept-section title=concept-section>section</a> <var title="">current section</var>.</p>
 
    </li>
 

Modified: index
===================================================================
--- index	2011-05-06 00:16:52 UTC (rev 6091)
+++ index	2011-05-06 00:20:41 UTC (rev 6092)
@@ -17896,6 +17896,8 @@
       <p>Let <var title="">current section</var> be a newly created
       <a href=#concept-section title=concept-section>section</a> 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 <a href=#outline>outline</a> for the new <var title="">current outlinee</var>, initialized with just the new
       <var title="">current section</var> as the only <a href=#concept-section title=concept-section>section</a> in the outline.</p>
 
@@ -18018,9 +18020,9 @@
      <dd><p>Do nothing.</dd>
 
     </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 <a href=#concept-section title=concept-section>section</a> <var title="">current
-    section</var>.</p>
+    after doing the steps above, if the node is not associated with a
+    <a href=#concept-section title=concept-section>section</a> yet and <var title="">current section</var> is not null, associate the node
+    with the <a href=#concept-section title=concept-section>section</a> <var title="">current section</var>.</p>
 
    </li>
 

Modified: source
===================================================================
--- source	2011-05-06 00:16:52 UTC (rev 6091)
+++ source	2011-05-06 00:20:41 UTC (rev 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>
 




More information about the Commit-Watchers mailing list