servo/tests/wpt/web-platform-tests/interfaces/DOM-Parsing.idl

26 lines
799 B
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 XMLSerializer {
constructor();
DOMString serializeToString(Node root);
};
interface mixin InnerHTML {
[CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML;
};
Element includes InnerHTML;
ShadowRoot includes InnerHTML;
partial interface Element {
[CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML;
[CEReactions] void insertAdjacentHTML(DOMString position, DOMString text);
};
partial interface Range {
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
};