mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 02:54:54 +03:00
18 lines
388 B
Plaintext
18 lines
388 B
Plaintext
#import <DOM/Document.idl>
|
|
|
|
enum DOMParserSupportedType {
|
|
"text/html",
|
|
"text/xml",
|
|
"application/xml",
|
|
"application/xhtml+xml",
|
|
"image/svg+xml"
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser
|
|
[Exposed=Window]
|
|
interface DOMParser {
|
|
constructor();
|
|
|
|
Document parseFromString(DOMString string, DOMParserSupportedType type);
|
|
};
|