Skip to content

Commit

Permalink
the start of a tabular data model
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@292 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 14, 2006
1 parent 1900dcd commit 45258c1
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 8 deletions.
37 changes: 31 additions & 6 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,7 @@
<li><a href="#image"><span class=secno>4.5.4. </span>Image maps</a>
</ul>

<li><a href="#tabular0"><span class=secno>4.6. </span>Tabular data <span
title=TBW>[TBW]</span></a>
<li><a href="#tabular0"><span class=secno>4.6. </span>Tabular data</a>

<li><a href="#forms0"><span class=secno>4.7. </span>Forms <span
title=TBW>[TBW]</span></a>
Expand Down Expand Up @@ -14864,10 +14863,36 @@ disallow: http://microformats.org/wiki/rel-enclosure
click events clicked on areas fire directly on the area and not on the
img?)

<h3 id=tabular0><span class=secno>4.6. </span>Tabular data <a href="#tbw"
title=TBW>[TBW]</a></h3>

<p class=big-issue>Define the <dfn id=table1>table model</dfn>.
<h3 id=tabular0><span class=secno>4.6. </span>Tabular data</h3>

<p>The table elements and their content attributes together define the <dfn
id=table1>table model</dfn>.

<p>A table consists of cells aligned on a two-dimensional grid of slots
with coordinates (<var title="">x</var>, <var title="">y</var>). The grid
is finite; the <var title="">x</var> coordinates are always in the range
1&le;<var title="">x</var>&le;<var title="">x<sub>max</sub></var>, and the
<var title="">y</var> coordinates are always in the range 1&le;<var
title="">y</var>&le;<var title="">y<sub>max</sub></var>.

<p>A cell is a set of slots anchored at a slot (<var title="">cell<sub><a
href="#x0">x</a></sub></var>, <var title="">cell<sub>y</sub></var>), and
with a particular <var title="">width</var> and <var title="">height</var>
such that the cell covers all the slots with coordinates (<var
title="">x</var>, <var title="">y</var>) where <var title="">cell<sub><a
href="#x0">x</a></sub></var>&nbsp;&le;&nbsp;<var
title="">x</var>&nbsp;&lt;<var title="">cell<sub><a
href="#x0">x</a></sub></var>+<var title="">width</var> and <var
title="">cell<sub>y</sub></var>&nbsp;&le;&nbsp;<var
title="">y</var>&nbsp;&lt;<var title="">cell<sub>y</sub></var>+<var
title="">height</var>.

<p>A row is a complete set of slots from <var title="">x</var>=1 to <var
title="">x</var>=<var title="">x<sub>max</sub></var>. A column is a
complete set of slots from <var title="">y</var>=1 to <var
title="">y</var>=<var title="">y<sub>max</sub></var>.

<p class=big-issue>...

<h3 id=forms0><span class=secno>4.7. </span>Forms <a href="#tbw"
title=TBW>[TBW]</a></h3>
Expand Down
33 changes: 31 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13207,9 +13207,38 @@ disallow: http://microformats.org/wiki/rel-enclosure



<h3>Tabular data <span title="TBW">[TBW]</span></h3>
<h3>Tabular data</h3>

<p>The table elements and their content attributes together define
the <dfn>table model</dfn>.</p>

<p>A table consists of cells aligned on a two-dimensional grid of
slots with coordinates (<var title="">x</var>, <var
title="">y</var>). The grid is finite; the <var title="">x</var>
coordinates are always in the range 1&le;<var
title="">x</var>&le;<var title="">x<sub>max</sub></var>, and the
<var title="">y</var> coordinates are always in the range 1&le;<var
title="">y</var>&le;<var title="">y<sub>max</sub></var>.</p>

<p>A cell is a set of slots anchored at a slot (<var
title="">cell<sub>x</sub></var>, <var
title="">cell<sub>y</sub></var>), and with a particular <var
title="">width</var> and <var title="">height</var> such that the
cell covers all the slots with coordinates (<var title="">x</var>,
<var title="">y</var>) where <var
title="">cell<sub>x</sub></var>&nbsp;&le;&nbsp;<var
title="">x</var>&nbsp;&lt;<var title="">cell<sub>x</sub></var>+<var
title="">width</var> and <var
title="">cell<sub>y</sub></var>&nbsp;&le;&nbsp;<var
title="">y</var>&nbsp;&lt;<var title="">cell<sub>y</sub></var>+<var
title="">height</var>.</p>

<p>A row is a complete set of slots from <var title="">x</var>=1 to
<var title="">x</var>=<var title="">x<sub>max</sub></var>. A column
is a complete set of slots from <var title="">y</var>=1 to <var
title="">y</var>=<var title="">y<sub>max</sub></var>.</p>

<p class="big-issue">Define the <dfn>table model</dfn>.</p>
<p class="big-issue">...</p>


<h3>Forms <span title="TBW">[TBW]</span></h3>
Expand Down

0 comments on commit 45258c1

Please sign in to comment.