Re: RFE: CSS3 Selectors: Parent combinators

On 24 Jan 2003, Chris Hubick wrote:
> 
> Request For Enhancement - CSS3 Selectors - Parent combinators.

A frequent request, and one that is subsummed by my :matches() proposal.

The main reason CSS doesn't already have this is that it is significantly
more performance intensive to go down the tree than it is to go up. (In
the case of "<", you have to check every child of the element, instead of
just the parent as you do for ">".)

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 25 January 2003 09:25:35 UTC