On 13/12/06, Brice Burgess <[EMAIL PROTECTED]> wrote: > Joan Piedra wrote: > > > > On 12/12/06, *Aaron Heimlich* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > div#myid = SLOW!! > > > > #myid = FAST!! > > > > .myclass = SLOW!! > > > > div.myclass = FAST(er)!! > > > > > > > > > > LOL, I think this is how it works in real CSS. > > > > div#myid = Faster > > #myid = Slow > > .myclass = Slow > > div.myclass = Fast > Does anyone know of CSS best practice benchmarks? Is div#myid indeed > faster in CSS? > > ~ Brice
I don't know if you can even benchmark the CSS parsing speed of browsers. It's so fast that you don't notice anyway (and if you do, it is probably due to the stylesheet downloading slowly or the page being very big). _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/