Brad Kemper wrote: [...] >> A parent combinator pseudo-class or parent pseudo-class requires a CSS >> parser to walk the chain. > > Only of immediate children, not of all descendants of a particular > has-child selector. Anyone using it more than sparingly should expect > some performance degradation. But what Stephen is`suggesting is firstly to walk the chain backwards to the parent element and then secondly match each particular parent child combinator. If my understanding is correct, that is a double performances hit. -- Alan http://css-class.com/ Nearly all men can stand adversity, but if you want to test a man's character, give him power - Abraham LincolnReceived on Wednesday, 23 July 2008 15:06:37 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT