mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests Update interfaces/DOM-Parsing.idl (#15857) Source: https://github.com/tidoust/reffy-reports/blob/e0218fe/whatwg/idl/DOM-Parsing.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/506822321 -- wpt-commits: 488f4440d07c85319ee4f34c1021f69f20e6f9a3 wpt-pr: 15857
39 lines
1 KiB
Text
39 lines
1 KiB
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/)
|
|
|
|
[Constructor, Exposed=Window]
|
|
interface DOMParser {
|
|
[NewObject] Document parseFromString(DOMString str, SupportedType type);
|
|
};
|
|
|
|
enum SupportedType {
|
|
"text/html",
|
|
"text/xml",
|
|
"application/xml",
|
|
"application/xhtml+xml",
|
|
"image/svg+xml"
|
|
};
|
|
|
|
[Constructor, Exposed=Window]
|
|
|
|
interface XMLSerializer {
|
|
DOMString serializeToString(Node root);
|
|
};
|
|
|
|
interface mixin InnerHTML {
|
|
[CEReactions, TreatNullAs=EmptyString] attribute DOMString innerHTML;
|
|
};
|
|
|
|
Element includes InnerHTML;
|
|
ShadowRoot includes InnerHTML;
|
|
|
|
partial interface Element {
|
|
[CEReactions, TreatNullAs=EmptyString] attribute DOMString outerHTML;
|
|
[CEReactions] void insertAdjacentHTML(DOMString position, DOMString text);
|
|
};
|
|
|
|
partial interface Range {
|
|
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
|
|
};
|