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

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 UTC