Re: The remaining issues list
Paul Grosso (paul@arbortext.com)
Wed, 22 Mar 95 11:57:21 EST
> From: "Dave Raggett" <dsr@hplb.hpl.hp.com>
>
> Paul Grosso writes:
>
> > We also point out the need to clarify various issues such as what
> > should happen to the cells that are "spanned over" by a vertical
> > or horizontal span.
>
> This is spelt out in the spec, of which the DTD is but one part:
>
> o Cells may be empty.
>
> o Cells spanning rows contribute to the column count on each of the
> spanned rows, but only appear in the markup once (in the first row
> spanned).
>
> o If the column count for the table is greater than the number of cells
> for a given row (after including cells for spanned rows), the missing
> cells are treated as occurring on the right handside of the table, and
> rendered as empty cells.
>
> o The row count is determined by the TR elements - any rows implied by
> cells spanning rows beyond this should be ignored.
> element.
>
> o The user agent should be able to recover from a missing <TR> tag
> prior to the first row as the TH and TC elements can only occur
> within the TR element
>
How should the following table be rendered?
How should it be rendered if "colspan=2" is changed to "colspan=1"?
<table>
<tr><td rowspan=2>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr><td rowspan=2>6</td></tr>
<tr><td colspan=2>7</td><td>8</td></tr>
</table>
For those who prefer minimized tags, the equivalent is:
<table>
<tr><td rowspan=2>1<td>2<td>3<td>4<td>5
<tr><td rowspan=2>6
<tr><td colspan=2>7<td>8
</table>
paul