W3C home > Mailing lists > Public > www-style@w3.org > October 2007

cell inherit style properties from its column

From: <Eugen.Konkov@aldec.com>
Date: Wed, 17 Oct 2007 16:33:27 +0300
Message-ID: <004501c810c2$4d636ac0$0100a8c0@kharkov.localhost>
To: <www-style@w3.org>
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 GMT

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