Re: headers= and rowgroup

2007/9/15, Leif Halvard Silli:
>
> There is no patterns within all that is said about header cells,
> which allows a single cell to catch its header cells from anywhere
> else than the @headers - when the single cell has that attribute.

There's also nothing which disallows it.

To be clear: my opinion is that the header cell/data cell association
comes *either* @headers, @scope or the 11.4.3 algorithm; but HTML4
could be read differently.

> > If it had been "R s / _ _" it wouldn't have been any different from
> > scope=row.
>
> "R s / _ _", which has been my reading,

So go back read the definition of a rowgroup.

> might not be different from scope=row, as long as you do not want
> to have two levels of @SCOPE. But as soon as you try to have two
> levels, then it becomes different, because it is not possible with two
> levels of @SCOPE=row - simultaneously, the least one will overrule
> the other.

Where have you read such a thing?!

<th scope=row>Foo
<th scope=row>Bar
<td>Baz

associates Foo *and* Bar as header cells for Baz.

> There also isn't any difference between @SCOPE=col and
> SCOPE=colgroup, except for the two levels that it makes possible.
> Or would you say that "C _ / _ _", where C was a cell with
> SCOPE=colgroup would also result in "C s / s s"?

Depends on the colgroups, but if you keep the default of having a
single colgroup spanning all columns ("A table may either contain a
single implicit column group (no COLGROUP element delimits the
columns)", ยง11.2.4), then yes "C s / s s" would be what happens.

-- 
Thomas Broyer

Received on Monday, 17 September 2007 12:06:55 UTC