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-10-21 00:38:41 -07:00
|
|
|
* http://dom.spec.whatwg.org/#interface-domimplementation
|
2012-03-30 21:42:20 -07:00
|
|
|
*
|
2012-10-21 00:38:41 -07:00
|
|
|
* Copyright:
|
|
|
|
* To the extent possible under law, the editors have waived all copyright and
|
|
|
|
* related or neighboring rights to this work.
|
2012-03-30 21:42:20 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface DOMImplementation {
|
|
|
|
boolean hasFeature(DOMString feature,
|
|
|
|
[TreatNullAs=EmptyString] DOMString version);
|
|
|
|
|
2012-10-21 00:38:41 -07:00
|
|
|
[Throws]
|
2012-03-30 21:42:20 -07:00
|
|
|
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId,
|
|
|
|
DOMString systemId);
|
2012-10-21 00:38:41 -07:00
|
|
|
[Throws]
|
2013-03-09 23:58:42 -08:00
|
|
|
Document createDocument(DOMString? namespace,
|
|
|
|
[TreatNullAs=EmptyString] DOMString qualifiedName,
|
2013-08-28 21:30:04 -07:00
|
|
|
optional DocumentType? doctype = null);
|
2012-10-21 00:38:41 -07:00
|
|
|
[Throws]
|
2013-03-21 05:55:08 -07:00
|
|
|
Document createHTMLDocument(optional DOMString title);
|
2012-03-30 21:42:20 -07:00
|
|
|
};
|