Closed
Description
interface DOMTokenList {
readonly attribute unsigned long length;
getter DOMString? item(unsigned long index);
boolean contains(DOMString token);
void add(DOMString... tokens);
void remove(DOMString... tokens);
boolean toggle(DOMString token, optional boolean force);
stringifier;
iterable<DOMString>;
};
DOM4 NodeList: NodeList, NodeListOf
IDL[Exposed=Window]
interface NodeList# {
getter Node? item(unsigned long index#);
readonly attribute unsigned long length;
iterable<Node>;
};
Note - The following interfaces are removed in DOM4 spec so are not listed here:
DOMStringList
Note 2 - The following interfaces are iterable in Firefox, but are they in spec?:
CSSRuleList
CSSStyleDeclaration
FileList
HTMLCollection
MediaList
MimeTypeArray
NamedNodeMap
Plugin
PluginArray
StyleSheetList
Metadata
Metadata
Assignees
Labels
No labels