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

Kornel Lesinski kornel at osiolki.net
Tue Mar 13 15:14:11 PDT 2007

On Tue, 13 Mar 2007 20:29:09 -0000, Asbjørn Ulsberg  
<asbjorn at tigerstaden.no> 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?

It can, but in this case scope of row is so obvious, that it would be  
counter-intuitive if specification said otherwise.

regards, Kornel Lesiński

More information about the whatwg mailing list