W3C home > Mailing lists > Public > www-html@w3.org > August 2005

Re: Sortable tables

From: Orion Adrian <orion.adrian@gmail.com>
Date: Tue, 30 Aug 2005 08:43:59 -0400
Message-ID: <abd6c80105083005431c3038d0@mail.gmail.com>
To: www-html@w3.org

On 8/29/05, Toby A Inkster <tai@g5n.co.uk> wrote:
> On Wed, 2005-08-24 at 12:31 +0000, Markus Jonsson wrote:
> > Is sortable tables of data planned for xhtml? You know as in gui
> > applications, where you click on the header and that column sorts?
> There is nothing to stop browser manufacturers implementing this today!
> (and for HTML too)

Actually given the tight intergration of presentation and semantics in
tables via colspan and rowspan this would be nearly impossible to do
correctly all the time. Say someone had a table like so:

<tr><td>$1,200<td colspan=3>N/A</tr>

The system wouldn't know if the N/A's across the colspan where there
for show or there because thows columns are intrinsically linked. If
you were to remove colspan and rowspan and replace them with
presentation attributes it could be done. I called for this a little
while back, but it was determined that colspan and rowspan were
fundamental and semantic.


Orion Adrian
Received on Tuesday, 30 August 2005 12:44:43 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:57 UTC