On Tue, 19 Oct 2010 19:06:15 +0200, Erik Arvidsson <a...@chromium.org> wrote:
On Tue, Oct 19, 2010 at 09:50, Garrett Smith <dhtmlkitc...@gmail.com> wrote:
Changing the wording for each collection would be painfully
repetitious, involving a spec author for each spec. There is not any
super interface collection defined that also defines `item`,
callability, property access, etc. though if there were then all
collection type objects inherit from that and would avoid shotgun
surgery. That would seem to be something for DOM 4 core, if such a
thing is to be written.

WebIDL has a section for sequence but it is not fleshed out yet.

Yeah, it would be nice if sequence mapped to that so that NodeList could be defined as a sequence instead, same for StyleSheetList, etc. And then Web IDL would take care of all the details rather than each specification.


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to