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

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 20 Oct 2011 13:05:53 +0200
Message-ID: <4EA00091.7050107@lachy.id.au>
To: Alex Russell <slightlyoff@google.com>
CC: 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 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.

Lachlan Hunt - Opera Software
Received on Thursday, 20 October 2011 11:06:24 UTC

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