Re: Column Styles - CSS3 Proposal: Erratum

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 UTC