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

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 UTC