Re: [css3-selectors] :parent selector

> > What happens if the relevant child is a several mega bytes down a
> > streamed document?  In particular, what happens if it changes the
> > display mode, in particular to none.
> 
> Answer: If you are asking what happens if child:parent is set to  
> display:none, then the answer is that the parent disappears. Why would  
> this be a problem?

The parent and all its children disappear, after the user has read some
of them.

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.

Received on Monday, 25 September 2006 20:28:36 UTC