W3C home > Mailing lists > Public > www-style@w3.org > January 2003

Re: RFE: CSS3 Selectors: Parent combinators

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 25 Jan 2003 14:25:29 +0000 (GMT)
To: Chris Hubick <chris@hubick.com>
Cc: W3C Style <www-style@w3.org>
Message-ID: <Pine.LNX.4.21.0301251423250.7124-100000@dhalsim.dreamhost.com>

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 GMT

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