W3C home > Mailing lists > Public > www-style@w3.org > December 2008

Re: [CSS2.1] col attributes: XHTML and CSS inconsistency?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 30 Dec 2008 19:04:22 -0500
Message-ID: <20081230190422.0dkc46c258dw80os@webmail.mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org

Quoting "Tab Atkins Jr." <jackalmage@gmail.com>:

> You say that :nth-col() would allow us to apply arbitrary properties
> to cells.

Yep.

> Apparently this means that pseudoclass resolution happens
> (or at least, *can* happen) at some time after table layout.

No, it means that whether :nth-col() matches depends only on the markup 
and not
on the corresponding layout.  That is, it matches based on the column the cell
is in semantically, not on the column it actually ends up in when displayed.

> During the initial pass through the CSS engine, it doesn't
> know what cells are in what column.

Nor does it need to, to match :nth-col() or similar proposals.

-Boris
Received on Wednesday, 31 December 2008 00:09:19 GMT

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