RE: [CSS21] properties for table-column (In HTML: COL) & table-column-group (In HTML: COLGROUP) items.

   -----Original Message-----
   From: Ian Hickson [mailto:ian@hixie.ch] 

   >The problem is that 'color' is an inherited property. 
   >Inheritance is done before layout 
   >it has to be, since the layout depends on inheritance). 

I cannot see how the 'color' of an element can in anyway affect the layout. 

   >You don't know what is a column until you've done the layout. To make 
   >'color''s inheritance depend on the layout thus doesn't fit CSS's model.

   > But nobody has yet given a solution that is easily implementable in the

   > CSS model.

Here's a simple solution?!?

First pass all CSS aspects relating to layout are applied.
Then the layout is rendered
Then a second pass renders aspects relating to color and other non-layout
styles.

Do I get a prize?

Received on Wednesday, 29 June 2005 10:46:17 UTC