W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: CSS Tables and rowspan/colspan

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 1 Apr 2008 11:14:28 -0700
To: Nikodem <freyjkell@gmail.com>
Cc: www-style <www-style@w3.org>
Message-ID: <20080401181428.GA3373@ridley.dbaron.org>

On Tuesday 2008-04-01 18:21 +0200, Nikodem wrote:
> Why rowspan/colspan is possible only in HTML, not in XML+CSS? I would like 
> to see this feature in CSS3 (CSS Advanced Layout is not what I mean):
>
> td[colspan],th[colspan]
> {
> 	table-colspan: attr(colspan);
> }
>
> td[rowspan],th[rowspan]
> {
> 	table-rowspan: attr(rowspan);
> }

The working group resolved to add properties for this to css3-tables
on 2001-12-12.  There hasn't been a css3-tables release since then.
I think the names are likely to be either 'row-span' and
'column-span' or 'table-row-span' and 'table-column-span'.

I think there may have been discussions of such properties both
before and after that resolution.  One other idea that came up was
allowing only attr() and not allowing explicit integer values, but I
think that was rejected because there is desire for explicit
integers when using CSS table boxes to display non-table markup.
However, use of explicit integers (rather than attr()) clearly
doesn't belong in CSS when styling table markup.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 1 April 2008 18:15:19 GMT

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