- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Mon, 23 Mar 2009 20:06:12 -0700
- To: Gabriele Romanato <gabriele.romanato@gmail.com>
- CC: www-style@w3.org
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