Files
ladybird/Libraries/LibWeb/HTML/DOMParser.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

16 lines
382 B
Plaintext

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((TrustedHTML or Utf16DOMString) string, DOMParserSupportedType type);
};