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.comReceived on Thursday, 1 May 2008 06:21:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:06 GMT