Permalink
Browse files

[] (0) Handle empty rows in the 'rules for processing rows'. (credit: w)

git-svn-id: http://svn.whatwg.org/webapps@2092 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 1447f88 commit 789ac653dd4a103acb803c3b149a451c779e0b71 @Hixie Hixie committed Aug 21, 2008
Showing with 27 additions and 11 deletions.
  1. +12 −5 index
  2. +15 −6 source
View
17 index
@@ -25803,15 +25803,22 @@ function AddCloud(data, x, y) { ... }</pre>
<p>Let <var title="">x<sub title="">current</sub></var> be 0.</p>
<li>
+ <p>Run the <a href="#algorithm3">algorithm for growing downward-growing
+ cells</a>.</p>
+
+ <li>
+ <p>If the <code><a href="#tr">tr</a></code> element being processed has
+ no <code><a href="#td">td</a></code> or <code><a
+ href="#th">th</a></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>
<p>Let <var title="">current cell</var> be the first <code><a
href="#td">td</a></code> or <code><a href="#th">th</a></code> element in
the <code><a href="#tr">tr</a></code> element being processed.</p>
<li>
- <p>Run the <a href="#algorithm3">algorithm for growing downward-growing
- cells</a>.</p>
-
- <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
@@ -25918,7 +25925,7 @@ function AddCloud(data, x, y) { ... }</pre>
the <code><a href="#tr">tr</a></code> element being processed.</p>
<li>
- <p>Return to step 5 (cells).</p>
+ <p>Return to the step labelled <i>cells</i>.</p>
</ol>
<p>When the algorithms above require the user agent to run the <dfn
View
21 source
@@ -23024,16 +23024,25 @@ function AddCloud(data, x, y) { ... }</pre>
<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>
@@ -23186,7 +23195,7 @@ function AddCloud(data, x, y) { ... }</pre>
<li>
- <p>Return to step 5 (cells).</p>
+ <p>Return to the step labelled <i>cells</i>.</p>
</li>

0 comments on commit 789ac65

Please sign in to comment.