querySelector[All]

July 22nd, 2008 by Boris

querySelector[All] support landed just in time for Firefox 3.1 alpha 1.  This gives web developers a much faster method of getting the set of nodes matching a CSS selector, and hopefully tookits will pick it up and start using it so that web developers get the benefits transparently.  For those interested, there is a test put together by the Webkit developers that compares querySelectorAll performance to that of existing query mechanisms.

2 Responses to “querySelector[All]”

  1. David Smith Says:

    Just in the interests of credit where credit is due: I (or any other webkit contributor) didn’t make that test, the mootools folks did. I just tweaked the iteration counts up to 250 so the numbers were more useful for comparison.

    Glad to see Firefox getting qs/qsa support. With all four major browsers on board this’ll be one new web API that actually gets to be used in the real world :)

  2. Schrep’s Blog » Blog Archives » Great performance improvements coming for Firefox 3.1 Says:

    [...] Zbarsky landed support for querySelector[All] just before Firefox 3.1 Alpha 1.   Recently John Resig and Mike Morgan [...]

Leave a Reply