2022-02-15 16:10:51 -03:00
|
|
|
#import <DOM/Document.idl>
|
2024-05-19 06:38:56 -03:00
|
|
|
#import <DOM/XMLDocument.idl>
|
2022-02-15 16:10:51 -03:00
|
|
|
|
2022-10-07 19:45:09 -03:00
|
|
|
// https://dom.spec.whatwg.org/#domimplementation
|
2023-09-02 11:00:01 -03:00
|
|
|
[Exposed=Window]
|
2020-11-13 03:08:06 -03:00
|
|
|
interface DOMImplementation {
|
2024-10-14 06:55:51 -03:00
|
|
|
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
|
2024-05-19 06:38:56 -03:00
|
|
|
[NewObject] XMLDocument createDocument([FlyString] DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
|
2025-07-24 13:05:52 -03:00
|
|
|
[NewObject] Document createHTMLDocument(optional Utf16DOMString title);
|
2020-11-13 03:08:06 -03:00
|
|
|
|
2024-10-14 06:55:51 -03:00
|
|
|
boolean hasFeature(); // useless; always returns true
|
2020-12-09 18:26:42 -03:00
|
|
|
};
|