summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DOMImplementation.idl
blob: 40a35fd27181c63389a12adf0e0a54e2e5444a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
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();

};