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

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
http://lachy.id.au/
http://www.opera.com/

Received on Thursday, 20 October 2011 11:06:24 UTC