|
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIDOMNode.idl" |
|
7 |
|
8 /** |
|
9 * DocumentFragment is a "lightweight" or "minimal" Document object. |
|
10 * nsIDOMDocumentFragment is used in situations where the Document |
|
11 * interface can potentially be a heavyweight interface. |
|
12 * |
|
13 * For more information on this interface please see |
|
14 * http://www.w3.org/TR/DOM-Level-2-Core/ |
|
15 */ |
|
16 |
|
17 [scriptable, builtinclass, uuid(75a237af-133e-40f0-8196-2a172867c41a)] |
|
18 interface nsIDOMDocumentFragment : nsIDOMNode |
|
19 { |
|
20 /** |
|
21 * Return nodes that match a given CSS selector. |
|
22 * |
|
23 * @see <http://dev.w3.org/2006/webapi/selectors-api/> |
|
24 */ |
|
25 nsIDOMElement querySelector([Null(Stringify)] in DOMString selectors); |
|
26 nsIDOMNodeList querySelectorAll([Null(Stringify)] in DOMString selectors); |
|
27 }; |