2022-02-15 22:10:51 +03:00
|
|
|
#import <DOM/Document.idl>
|
|
|
|
|
2022-10-08 01:45:09 +03:00
|
|
|
// https://dom.spec.whatwg.org/#domimplementation
|
|
|
|
[Exposed=Window]
|
2020-11-13 09:08:06 +03:00
|
|
|
interface DOMImplementation {
|
|
|
|
|
2021-05-04 23:40:31 +03:00
|
|
|
// FIXME: This should return XMLDocument instead of Document.
|
2022-03-02 10:56:17 +03:00
|
|
|
[NewObject] Document createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
|
2021-05-04 23:40:31 +03:00
|
|
|
[NewObject] Document createHTMLDocument(optional DOMString title);
|
|
|
|
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
|
2020-11-13 09:08:06 +03:00
|
|
|
|
|
|
|
boolean hasFeature();
|
|
|
|
|
2020-12-10 00:26:42 +03:00
|
|
|
};
|