Re: Array-with-item in WebIDL

On 6/16/15 10:46 PM, Garrett Smith wrote:
>   HTMLFormElement objects,

Where, exactly?

>   HTMLSelectElement

Again, where?

>   DOMTokenList
>   DOMStringList

Yes, these two have contains().

The only other "contains()" I see in the Gecko IDL is the one on Node, 
but Node is not an arraylike thing.

> Any HTMLCollection that has a descendent OBJECT whose id is "contains"
> (nonstandard Firefox extension).

It's totally standard.  See 
https://html.spec.whatwg.org/multipage/embedded-content.html#dom-object-caller 
and the corresponding IDL, plus the definition of HTMLCollection.

-Boris

Received on Wednesday, 17 June 2015 03:01:03 UTC