W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: Column Styles - CSS3 Proposal: Erratum

From: Nicholas Shanks <contact@nickshanks.com>
Date: Wed, 12 May 2004 01:23:17 +0100
Message-Id: <90E363BA-A3AA-11D8-80CF-0005020F149E@nickshanks.com>
To: www-style@w3.org

On 12 May 2004, at 00:50, Nicholas Shanks wrote:

> Element[display='table-cell']
> 1. parent
> 2. parent.parent.getElementsByStyle('display', 
> 'table-column')[position()]

I just realised that the above should have read:

Element[display='table-cell']
1. parent.parent.getElementsByStyle('display', 'table-column')[column()]
2. parent

So as to preserve background layering correctly.
(http://www.w3.org/TR/CSS21/tables#table-layers)

And where column() replaces position(), and sums up the colspan 
attributes on all preceeding siblings, assuming colspan="1" if not 
present.

- Nick.
Received on Tuesday, 11 May 2004 20:23:21 GMT

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