ladybird/Userland/Libraries/LibWeb/DOM/DOMImplementation.idl
Shannon Booth a8e3400a2a LibWeb: Make DOMImplementation IDL return an XMLDocument
Which the implementation was already doing, so no behaviour change :^)
2024-05-19 16:24:11 +02:00

14 lines
540 B
Text

#import <DOM/Document.idl>
#import <DOM/XMLDocument.idl>
// https://dom.spec.whatwg.org/#domimplementation
[Exposed=Window]
interface DOMImplementation {
[NewObject] XMLDocument createDocument([FlyString] DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
[NewObject] Document createHTMLDocument(optional DOMString title);
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
boolean hasFeature();
};