Re: [css3-selectors] :parent selector

Le Sun, 24 Sep 2006 19:55:31 +0300, L. David Baron <dbaron@dbaron.org> a  
écrit:

> It's not at all the way things work now.
>
> Selectors are processed one *element* at a time.  To style an element,
> you find all the selectors that match the element.  Each selector is
> processed from end-to-beginning.
>
> You are describing a model where selectors are processed one selector at
> a time.  Such a model would require rerunning the entire selection
> algorithm every time the document changes.

Can't a hybrid processing/styling model be implemented?

One that uses a completely different approach for parent selectors (and a  
new set of "complex" selectors which could be then added).


-- 
http://www.robodesign.ro
ROBO Design - We bring you the future

Received on Sunday, 24 September 2006 19:28:40 UTC