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