Re: [css3-selectors] :parent selector

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 UTC