summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLAllCollection.webidl
blob: b3521388883bb4e938a2d59693fc65f804ad8485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* Emulates undefined through Codegen.py. */
[LegacyUnenumerableNamedProperties]
interface HTMLAllCollection {
  readonly attribute unsigned long length;
  getter Node? (unsigned long index);
  Node? item(unsigned long index);
  (Node or HTMLCollection)? item(DOMString name);
  legacycaller (Node or HTMLCollection)? (DOMString name);
  getter (Node or HTMLCollection)? namedItem(DOMString name);
};