diff options
Diffstat (limited to 'dom/webidl/HTMLAllCollection.webidl')
-rw-r--r-- | dom/webidl/HTMLAllCollection.webidl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/webidl/HTMLAllCollection.webidl b/dom/webidl/HTMLAllCollection.webidl new file mode 100644 index 000000000..b35213888 --- /dev/null +++ b/dom/webidl/HTMLAllCollection.webidl @@ -0,0 +1,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); +}; |