HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2092Handle empty rows in the 'rules for processing rows'. (credit: w)2008-08-21 09:29
@@ -23017,30 +23017,39 @@ function AddCloud(data, x, y) { ... }</pre>
    </li>
 
    <li>
 
     <p>Let <var title="">x<sub title="">current</sub></var> be 0.</p>
 
    </li>
 
    <li>
 
-    <p>Let <var title="">current cell</var> be the first
-    <code>td</code> or <code>th</code> element in the <code>tr</code>
-    element being processed.</p>
+    <p>Run the <span>algorithm for growing downward-growing
+    cells</span>.</p>
 
    </li>
 
    <li>
 
-    <p>Run the <span>algorithm for growing downward-growing
-    cells</span>.</p>
+    <p>If the <code>tr</code> element being processed has no
+    <code>td</code> or <code>th</code> element children, then increase
+    <var title="">y<sub title="">current</sub></var> by 1, abort this
+    set of steps, and return to the algorithm above.</p>
+
+   </li>
+
+   <li>
+
+    <p>Let <var title="">current cell</var> be the first
+    <code>td</code> or <code>th</code> element in the <code>tr</code>
+    element being processed.</p>
 
    </li>
 
    <li>
 
     <p><i>Cells</i>: While <var title="">x<sub
     title="">current</sub></var> is less than <var title="">x<sub
     title="">width</sub></var> and the slot with coordinate (<var
     title="">x<sub title="">current</sub></var>, <var title="">y<sub
     title="">current</sub></var>) already has a cell assigned to it,
@@ -23179,21 +23188,21 @@ function AddCloud(data, x, y) { ... }</pre>
    <li>
 
     <p>Let <var title="">current cell</var> be the next
     <code>td</code> or <code>th</code> element in the <code>tr</code>
     element being processed.</p>
 
    </li>
 
    <li>
 
-    <p>Return to step 5 (cells).</p>
+    <p>Return to the step labelled <i>cells</i>.</p>
 
    </li>
 
   </ol>
 
 
   <p>When the algorithms above require the user agent to run the
   <dfn>algorithm for growing downward-growing cells</dfn>, the user
   agent must, for each {<var title="">cell</var>, <var
   title="">cell<sub title="">x</sub></var>, <var title="">width</var>}

|