W3C home > Mailing lists > Public > public-html-comments@w3.org > August 2009

Re: Explanation on usage of 'td' vs 'th' within a thead

From: Simon Pieters <simonp@opera.com>
Date: Sat, 01 Aug 2009 12:42:22 +0200
To: "Ian Hickson" <ian@hixie.ch>, "Seth Call" <sethcall@gmail.com>, "Giovanni Campagna" <scampa.giovanni@gmail.com>
Cc: public-html-comments@w3.org
Message-ID: <op.uxzb0wjoidj3kv@simon-pieterss-macbook.local>
On Sat, 01 Aug 2009 11:14:20 +0200, Ian Hickson <ian@hixie.ch> wrote:

> On Wed, 22 Jul 2009, Seth Call wrote:
>> I think you are right; td/th are options simply because of the content
>> model of tr.  I'd hope, though, that if there is no reason to use td
>> within a thead, that the spec could indicate that by adding a
>> restrictive condition to the tr content model when in a thead.
> After examining a whole bunch of tables, I've come to the same
> conclusion, and have adjusted the spec accordingly.
> I expect we'll change this back, and allow <td> in <tr>, because I expect
> someone will find a table where it makes sense. If anyone can find a  
> table
> where it makes sense, I'll change it back.

The only case I can think of is an empty cell in the top-left when having  
both column and row headers. The spec doesn't say whether to use td or th  
for such cells, and I've seen both being used in the wild.

Simon Pieters
Opera Software
Received on Saturday, 1 August 2009 10:43:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:03:57 UTC