W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [DOM4] NodeList should be deprecated

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 17 Mar 2012 13:19:35 +1100
Message-ID: <4F63F4B7.6050704@mcc.id.au>
To: Anne van Kesteren <annevk@opera.com>
CC: Ojan Vafai <ojan@chromium.org>, Rick Waldron <waldron.rick@gmail.com>, Adam Klein <adamk@chromium.org>, WebApps WG <public-webapps@w3.org>, Erik Arvidsson <arv@chromium.org>, Ryosuke Niwa <rniwa@chromium.org>
Anne van Kesteren: > Okay, annotated NodeList with [ArrayClass]. What 
about HTMLCollection?
> Should I add it there too? Could you take a look at NodeList and
> HTMLCollection for accuracy?

It is probably not feasible to add to HTMLCollection, because it has a 
named property getter which is not [OverrideBuiltins].  That means that 
all the new properties on the prototype like "concat", "push", etc. 
would begin to shadow any named elements on the collection.
Received on Saturday, 17 March 2012 02:20:16 GMT

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