Re: Select a parrent node with s CSS selector?

Daniel Beardsmore wrote:

> I'm curious thus to know precisely *why* a parent node selector is  
> so important? What would it solve that cannot be solved with  
> existing CSS2 or CSS3 selectors?

Interaction design. The first example that comes to mind is, if you  
mouse over a link in a paragraph or other section, you could dim the  
paragraph to make the link stand out instead of changing the link...  
Currently you can only change the properties of the link and its  

Currently you could use "p:hover a:link, p:hover a:visited" to expose  
*all* anchors in a paragraph, but this rule would let you single out  
the individual link.


Received on Wednesday, 25 April 2007 00:50:40 UTC