ladybird/Userland/Libraries/LibWeb/HTML/DOMParser.idl

16 lines
289 B
Text
Raw Normal View History

#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);
};