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

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

From: Sean Hogan <shogun70@westnet.com.au>
Date: Thu, 20 Oct 2011 22:35:10 +1100
Message-ID: <4EA0076E.7060505@westnet.com.au>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: 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 20/10/11 10:05 PM, Lachlan Hunt wrote:
> On 2011-10-20 12:50, Alex Russell wrote:
>> On Thu, Oct 20, 2011 at 6:55 AM, Jonas Sicking<jonas@sicking.cc>  wrote:
>>> Oh, and as a separate issue. I think .findAll should return a plain
>>> old JS Array. Not a NodeList or any other type of host object.
>>
>> I strongly agree that it should be an Array *type*, but I think just
>> returning a plain Array is the wrong resolution to our NodeList
>> problem. WebIDL should specify that DOM List types *are* Array types.
>
> We need NodeList separate from Array where they are live lists.  I 
> forget the reason we originally opted for a static NodeList rather 
> than Array when this issue was originally discussed a few years ago.
>

I wonder if anyone is relying on querySelectorAll() returning a 
StaticNodeList?
Received on Thursday, 20 October 2011 11:35:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT