Re: {css-3 selectors} The :parent pseudo-class 2

Gabriele Romanato wrote:
> For more specificity, we could write this pseudo-class as:
> 
> E:parent(E1)
> 
> Where E1 is the parent element:
> 
> a:parent(h3) {...}
> 
> 

Even worse, sorry.

That means resolution of style of particular element will require scan 
of all its children and sub-children. So almost any DOM update will
require recalculation of styles of all elements in the DOM, eh?


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Tuesday, 24 March 2009 03:06:52 UTC