Re: headers= and rowgroup

2007/9/12, Leif Halvard Silli:
>
> On 2007-09-12 16:53:27 +0200 "Anne van Kesteren"
> > On Wed, 12 Sep 2007 16:39:50 +0200, Leif Halvard Silli
> >> Please quote. I don't see anything that can be interpreted like that.
> >
> > I quoted the definition of rowgroup before.
>
> Irrelvant and out of context.
>
> The context: Which text it is that allow you to say that @HEADERS
> is augmentive in HTML4. Please quote. I don't see anything that can
> be interpreted like that.

HTML4, §11.4.1 reads:
For a given data cell, the headers attribute lists which cells provide
pertinent header information. For this purpose, each header cell must
be named using the id attribute. Note that it's not always possible to
make a clean division of cells into headers or data. You should use
the TD element for such cells together with the id or scope attributes
as appropriate.
For a given header cell, the scope attribute tells the user agent the
data cells for which this header provides information. Authors may
choose to use this attribute instead of headers according to which is
more convenient; the two attributes fulfill the same function. The
headers attribute is generally needed when headers are placed in
irregular positions with respect to the data they apply to.

"You may use scope (on header cell) instead of headers (on data cell)"
does not mean you can't use both; and the spec is silent on such a
case.

> Below I present some TBODY-s with 4 cells in each. The «RGR» text
> represents a header cell.  Please show me, by subtituting the "_" with
> an "S", the effect which the SCOPE="rowgroup" is causing - according
> to your reading of the HTML5 draft and HTML4:
>
>        Showing <TH colspan=0 scope=rowgroup>RGR</TH>
> HTML4:        HTML5:
>        RGR          RGR
>        _ _          _ _
>
>        Showing <TH rowspan=0 scope=rowgroup>RG</TH>
> HTML4:        HTML5:
>        R _            R _
>        G _            G _
>
>        Showing <TH rowspan=1 scope=rowgroup>R</TH>
> HTML4:        HTML5:
>        R _            R _
>        _ _            _ _
>
>        Showing <TH colspan=1 scope=rowgroup>R</TH>
> HTML4:        HTML5:
>        R _            R _
>        _ _            _ _

I'd replace *all* of your _ with an S, because rowspan and colspan
have nothing to do with colgroups and rowgroups.

-- 
Thomas Broyer

Received on Thursday, 13 September 2007 21:23:57 UTC