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