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

interface DOMImplementation {

    // FIXME: This is missing "optional DocumentType? doctype = null" at the end.
    // FIXME: This should return XMLDocument instead of Document.
    [NewObject] Document createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName);
    [NewObject] Document createHTMLDocument(optional DOMString title);
    [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);

    boolean hasFeature();

};