W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: QSA, the problem with ":scope", and naming

From: Erik Arvidsson <arv@chromium.org>
Date: Thu, 20 Oct 2011 09:12:08 -0700
Message-ID: <CAJ8+GohAtLeUdt0fnOPfrEOUdzSqq8UW0BwT-i+R9=ap6Q0Aqw@mail.gmail.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: Sean Hogan <shogun70@westnet.com.au>, Alex Russell <slightlyoff@google.com>, Webapps WG <public-webapps@w3.org>, Yehuda Katz <wycats@gmail.com>, John Resig <jeresig@gmail.com>, Paul Irish <paulirish@google.com>, Cameron McCormack <cam@mcc.id.au>
On Thu, Oct 20, 2011 at 04:49, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> On 2011-10-20 13:35, Sean Hogan wrote:
>> I wonder if anyone is relying on querySelectorAll() returning a
>> StaticNodeList?
> Only if there are people out there using list.item(n) instead of list[n], or
> people extending the NodeList interface and expecting such methods to be
> available on the result.  Though I suspect the former is very rare, and the
> latter doesn't work in all browsers.

Both are rare but they do happen


What is funny is that code search only found one instance of item
being used directly after querySelectorAll(...). Of course, that
search does not tell the whole story.


Received on Thursday, 20 October 2011 16:12:52 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC