W3C home > Mailing lists > Public > www-style@w3.org > July 2005

Re: Proposal: :column pseudo-class

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 03 Jul 2005 04:17:35 +1000
Message-ID: <42C6DA3F.7080102@lachy.id.au>
To: Orion Adrian <orion.adrian@gmail.com>
CC: W3C Style List <www-style@w3.org>

Orion Adrian wrote:
> Couldn't this problem simply be solved by removing the presentational
> attributes "colspan" and "rowspan".

They're not presentational at all.  They're structural, and it is not 
always semantically correct to simply duplicate the values in each cell 
in place of colspan and/or rowspan.  For example, marking up a timetable 
of classes.  The time of the day along one axis, and the days of the 
week along the other.

____|_09:00_|_10:00_|_11:00_|_12:00_|_13:00_|_14:00_|_15:00_|_16:00
Mon | Maths |    English    |Science| Lunch |   Computers   |
Tue | ...

Notice how some classes, English and Computers, span two hours each. 
They're not two seperate consecutive 1 hour classes — they're both 2 
hour classs.  To mark that up without colspan by duplicating the name in 
each cell would be semantically incorrect.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 2 July 2005 18:17:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:39 GMT