W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [css3-selectors] :parent selector

From: Mihai Sucan <mihai.sucan@gmail.com>
Date: Sun, 24 Sep 2006 22:28:32 +0300
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
Message-ID: <op.tgedpuztmcpsjgr0b0dp@localhost.localdomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT