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 "nsIDOMNode.idl" michael@0: michael@0: /** michael@0: * DocumentFragment is a "lightweight" or "minimal" Document object. michael@0: * nsIDOMDocumentFragment is used in situations where the Document michael@0: * interface can potentially be a heavyweight interface. 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, builtinclass, uuid(75a237af-133e-40f0-8196-2a172867c41a)] michael@0: interface nsIDOMDocumentFragment : nsIDOMNode michael@0: { michael@0: /** michael@0: * Return nodes that match a given CSS selector. michael@0: * michael@0: * @see michael@0: */ michael@0: nsIDOMElement querySelector([Null(Stringify)] in DOMString selectors); michael@0: nsIDOMNodeList querySelectorAll([Null(Stringify)] in DOMString selectors); michael@0: };