- From: Jonas Sicking <jonas@sicking.cc>
- Date: Wed, 17 Jun 2015 00:34:48 -0700
- To: Garrett Smith <dhtmlkitchen@gmail.com>
- Cc: Allen Wirfs-Brock <allen@wirfs-brock.com>, Travis Leithead <travis.leithead@microsoft.com>, Joshua Bell <jsbell@google.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
The question at hand is: Can we replace various Array-like objects returned by the DOM with real JS-Arrays or subclasses of JS-Arrays that contain "contains" and/or "item" functions. I don't see that this subthread is getting us any closer to answering that question. / Jonas On Tue, Jun 16, 2015 at 7:46 PM, Garrett Smith <dhtmlkitchen@gmail.com> wrote: > On 6/16/15, Jonas Sicking <jonas@sicking.cc> wrote: >> FWIW, very few of the DOM APIs return array-like objects with a >> "contains" function. > > Lets name some. > > HTMLFormElement objects, > HTMLSelectElement > DOMTokenList > DOMStringList > > Any HTMLCollection that has a descendent OBJECT whose id is "contains" > (nonstandard Firefox extension). > > What else? > -- > Garrett > @xkit > ChordCycles.wordpress.com > garretts.github.io > personx.tumblr.com
Received on Wednesday, 17 June 2015 07:35:48 UTC