Re: CSS Tables and rowspan/colspan

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 UTC