- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Wed, 30 Apr 2008 23:21:01 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- CC: "Brian J. Fink" <desertowl23@gmail.com>, dbaron@dbaron.org, www-style@w3.org
fantasai wrote:
>
> Brian J. Fink wrote:
>> Well whether they decide to use < and ^ combinator notation or
>> :subject, :matches, and :has, I hope they reinsert SOME syntax we can
>> use BEFORE the spec gets promoted to candidate recommendation!
>
> Oh, it won't get added to the current Selectors module.
> This one is too close to REC, we aren't adding any features
> at this point. It'll be a candidate for the next level,
> Selectors Level 4 or whatever.
>
> ~fantasai
>
People, are you serious about all this?
What CPU would you use to process this:
:root < a:hover { color:sisyphean; font:boulder; }
?
This simply means recalculation of styles and layout of all DOM elements
on simple a:hover. So is my question above.
Complexity of style resolution for *single* element using
containment selector is O(n), where n is a number of DOM elements in the
whole tree. So resolving the whole DOM against single containment rule
is O(n*n). This will not fly.
--
Andrew Fedoniouk.
http://terrainformatica.com
Received on Thursday, 1 May 2008 06:21:41 UTC