Serenity Operating System
at master 14 lines 561 B view raw
1#import <DOM/Document.idl> 2 3// https://dom.spec.whatwg.org/#domimplementation 4[Exposed=Window] 5interface DOMImplementation { 6 7 // FIXME: This should return XMLDocument instead of Document. 8 [NewObject] Document createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); 9 [NewObject] Document createHTMLDocument(optional DOMString title); 10 [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); 11 12 boolean hasFeature(); 13 14};