Skip to content
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
Hixie committed Aug 21, 2008
1 parent 1447f88 commit 789ac653dd4a103acb803c3b149a451c779e0b71
Showing with 27 additions and 11 deletions.
  1. +12 −5 index
  2. +15 −6 source
17 index
<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
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
21 source

<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>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.
You can’t perform that action at this time.