Re: [css3-selectors] The :nth-sibling combinator

On 6/18/10 12:26 PM, Eduard Pascual wrote:
> This has to be, on the worst case, very close in costs to the general
> sibling combinator (~) which is already implemented by most browsers.

Though as of this writing webkit skips the "cost" part (by totally not 
handling ~ when dynamic changes are involved) and in Gecko the dynamic 
change aspect of ~ is in fact quite expensive.  I can't speak to what 
Presto and Trident do here.

-Boris

Received on Friday, 18 June 2010 16:39:23 UTC