Bug 1610775 [wpt PR 21336] - Update urllib3 to 1.25.8, a=testonly
[gecko.git] / dom / webidl / DocumentFragment.webidl
blobd02c23df0a088e67a12bd0b290cb9da0aa97b1df
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 file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://www.w3.org/TR/2012/WD-dom-20120405/#interface-documentfragment
8  * http://www.w3.org/TR/2012/WD-selectors-api-20120628/#interface-definitions
9  *
10  * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
11  * liability, trademark and document use rules apply.
12  */
14 [Exposed=Window]
15 interface DocumentFragment : Node {
16   [Throws]
17   constructor();
19   Element? getElementById(DOMString elementId);
22 // http://www.w3.org/TR/2012/WD-selectors-api-20120628/#interface-definitions
23 partial interface DocumentFragment {
24   [Throws]
25   Element?  querySelector(DOMString selectors);
26   [Throws]
27   NodeList  querySelectorAll(DOMString selectors);
30 DocumentFragment includes ParentNode;