summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DOMImplementation.idl
blob: 164805eea4feb3565dd58caa61ef8a52d8f938ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import <DOM/Document.idl>

interface DOMImplementation {

    // FIXME: This should return XMLDocument instead of Document.
    [NewObject] Document createDocument(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();

};