michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: michael@0: /** michael@0: * The nsIDOMNodeList interface provides the abstraction of an ordered michael@0: * collection of nodes, without defining or constraining how this collection michael@0: * is implemented. michael@0: * The items in the list are accessible via an integral index, starting from 0. michael@0: * michael@0: * For more information on this interface please see michael@0: * http://www.w3.org/TR/DOM-Level-2-Core/ michael@0: */ michael@0: michael@0: [scriptable, uuid(450cf0ba-de90-4f86-85bf-e10cc8b8713f)] michael@0: interface nsIDOMNodeList : nsISupports michael@0: { michael@0: nsIDOMNode item(in unsigned long index); michael@0: readonly attribute unsigned long length; michael@0: };