W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [css3-selectors] :parent selector

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 25 Sep 2006 14:44:27 -0700
To: www-style@w3.org
Message-ID: <20060925214427.GA4641@ridley.dbaron.org>
On Monday 2006-09-25 21:27 +0100, David Woolley wrote:
> My particular concern though, was whether or not the special behaviour
> of display: none is clearly enough documented to avoid any possibility
> of this resulting in a loop, and whether or not it was clear enough 
> as to what to do is a later rule, matched by a later child, cancelled
> the display: none.

There's no possibility of a loop.  Selectors match elements, whether or
not they have display:none.

(This particular proposal for ancestor/parent selectors, which seems to
be an unusually hard-to-understand and difficult-to-use one, makes that
a little less obvious than other proposals.)

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Monday, 25 September 2006 21:44:38 GMT

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