Re: Column pseudo-class: a proposal

Etan Wexler wrote:
> The CSS3 Text module (<http://www.w3.org/TR/2002/WD-css3-text-
> 20020515>) notes that "The 'writing-mode' and 'direction' properties, 
> when specified for table column elements, are not inherited by cells in 
> the column [...]. Thus, CSS cannot easily capture the "dir" attribute 
> inheritance rules described in [[HTML4.01], section 11.3.2. "
> 
> The solution is a pseudo-class that selects 'table-cell' elements by 
> matching the column in which the 'table-cell' elements reside.
> 
> Consider the following example.
> 
> th:in-column(colgroup.totals > col)

Not possible, since the cascade happens before the value of the 'display' 
property is computed.

-- 
Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13

Received on Wednesday, 12 June 2002 21:00:58 UTC