W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Make <th> be a header cell for its row even for the first row

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 22 Mar 2007 21:24:45 +0200
Message-ID: <EB7F126B-A91E-43C2-97D4-2EE2D4A28C67@iki.fi>
On Mar 13, 2007, at 22:29, Asbj?rn Ulsberg wrote:

> On Tue, 13 Mar 2007 21:07:20 +0100, Simon Pieters  
> <zcorpan at gmail.com> wrote:
>
>> Many pages use tables where only the first column are header  
>> cells, e.g.:
>>
>>     <table>
>>      <tr><th>Foo <td>Bar
>>      <tr><th>Foo <td>Bar
>>      <tr><th>Foo <td>Bar
>>     </table>
>>
>> With the current algorithm for assigning header cells to data  
>> cells, the first <th> won't be a header cell for any data cells.
>
> Can't 'scope="row"' be used?
>
>> In order to be more compatible with existing content, and in order to
>> not require authors to use more complex markup for such a simple  
>> table
>> like the one above, I think it probably should be.
>
> Yea, perhaps. I'd vote for 'scope', though.

When the options are badgering innumerable authors into doing  
something and making relatively few users agents implement slightly  
smarter heuristics, the latter should win.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 22 March 2007 12:24:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:33 UTC