Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (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
Hixie committed Aug 21, 2008
1 parent 1447f88 commit 789ac65
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
17 changes: 12 additions & 5 deletions index
Expand Up @@ -25802,15 +25802,22 @@ function AddCloud(data, x, y) { ... }</pre>
<li>
<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
Expand Down Expand Up @@ -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
Expand Down
21 changes: 15 additions & 6 deletions source
Expand Up @@ -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>

Expand Down Expand Up @@ -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>

Expand Down

0 comments on commit 789ac65

Please sign in to comment.