mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
40 lines
1 KiB
Text
40 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/)
|
|
|
|
[Exposed=Window]
|
|
interface DOMParser {
|
|
constructor();
|
|
[NewObject] Document parseFromString(DOMString str, SupportedType type);
|
|
};
|
|
|
|
enum SupportedType {
|
|
"text/html",
|
|
"text/xml",
|
|
"application/xml",
|
|
"application/xhtml+xml",
|
|
"image/svg+xml"
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface XMLSerializer {
|
|
constructor();
|
|
DOMString serializeToString(Node root);
|
|
};
|
|
|
|
interface mixin InnerHTML {
|
|
[CEReactions] attribute [TreatNullAs=EmptyString] DOMString innerHTML;
|
|
};
|
|
|
|
Element includes InnerHTML;
|
|
ShadowRoot includes InnerHTML;
|
|
|
|
partial interface Element {
|
|
[CEReactions] attribute [TreatNullAs=EmptyString] DOMString outerHTML;
|
|
[CEReactions] void insertAdjacentHTML(DOMString position, DOMString text);
|
|
};
|
|
|
|
partial interface Range {
|
|
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
|
|
};
|