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

Re: cell inherit style properties from its column

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 17 Oct 2007 10:28:12 -0500
Message-ID: <47162A0C.8010202@mit.edu>
To: Eugen.Konkov@aldec.com
CC: www-style@w3.org

Eugen.Konkov@aldec.com wrote:
>  >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
> As you see in an attachment. Background works fine. So you know which 
> cell is in which column on stage 2!

No.  Backgrounds are painted in stage 4, and they are _all_ painted.  That is, 
the column background is painted, and so (separately) is the cell background. 
You can see this easily if you give the cell in your example a non-opaque 

See also http://www.w3.org/TR/CSS21/tables.html#table-layers for more 
information on how table element backgrounds are painted.

> So there is no problem to inherit style for cells from columns.

This would be an incorrect conclusion (mostly because  derived from incorrect 

Received on Wednesday, 17 October 2007 15:28:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC