W3C home > Mailing lists > Public > www-style@w3.org > June 2010

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 18 Jun 2010 12:38:49 -0400
Message-ID: <4C1BA119.1010001@mit.edu>
To: Eduard Pascual <herenvardo@gmail.com>
CC: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT