cell inherit style properties from its column

Descussion started at:
https://bugzilla.mozilla.org/show_bug.cgi?id=399854

LAST POST:

>>http://www.info.com.ph/~etan/w3pantheon/style/selectomania.html 
Ok. I can write in CSS "tr:first-child+tr+tr+tr+tr+tr td:first-child+td+td+td+td+td+td {...}" But altering this is not simple

>> It says nothing that style of col element can not be applyed to cell
>"cells are descendants of rows, never of columns"
>http://www.w3.org/TR/CSS21/tables.html#columns
Implicitly it means: 
Cells are descendants of rows
Rows are descendants of row groups
Row groups are descendants of columns
Columns are descendants of column groups
Column groups are descendants of table

http://www.w3.org/TR/CSS2/tables.html#table-layers

>http://ln.hixie.ch/?start=1070385285&count=1
>ince you have to take into account what cells span several columns, etc.
cells can span several rows too

>So you know which cell is in which column during stage 3, and not earlier. 
>But the stage where you would work out what the color property of a cell is step 2! 
As you see in an attachment. Background works fine. So you know which cell is in which column on stage 2! So there is no problem to inherit style for cells from columns.

NOTICE: w3.org RECOMENDATION does not say that: "You can not set style for col" or "All properties of style MUST BE ignored except: border, background, width,
visibility"

Received on Wednesday, 17 October 2007 13:34:43 UTC