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

enum DOMParserSupportedType {
    "text/html",
    "text/xml",
    "application/xml",
    "application/xhtml+xml",
    "image/svg+xml"
};

interface DOMParser {
    constructor();

    Document parseFromString(DOMString string, DOMParserSupportedType type);
};