2012-03-30 21:42:20 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
2012-12-24 19:35:19 -08:00
|
|
|
* http://www.w3.org/TR/2012/WD-dom-20120405/#interface-documentfragment
|
|
|
|
* http://www.w3.org/TR/2012/WD-selectors-api-20120628/#interface-definitions
|
2012-03-30 21:42:20 -07:00
|
|
|
*
|
|
|
|
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2013-05-23 03:59:00 -07:00
|
|
|
[Constructor]
|
2012-03-30 21:42:20 -07:00
|
|
|
interface DocumentFragment : Node {
|
2013-11-01 12:39:25 -07:00
|
|
|
Element? getElementById(DOMString elementId);
|
2012-12-24 19:35:19 -08:00
|
|
|
};
|
|
|
|
|
2013-01-10 07:49:07 -08:00
|
|
|
// http://www.w3.org/TR/2012/WD-selectors-api-20120628/#interface-definitions
|
2012-12-24 19:35:19 -08:00
|
|
|
partial interface DocumentFragment {
|
|
|
|
[Throws]
|
|
|
|
Element? querySelector(DOMString selectors);
|
|
|
|
[Throws]
|
|
|
|
NodeList querySelectorAll(DOMString selectors);
|
2012-03-30 21:42:20 -07:00
|
|
|
};
|
2013-07-22 05:15:43 -07:00
|
|
|
|
|
|
|
DocumentFragment implements ParentNode;
|