Files
kotlin-fork/libraries/idl/org.w3c.dom.parsing.idl
T

22 lines
602 B
Plaintext

namespace org.w3c.dom.parsing;
// Downloaded from http://www.w3.org/TR/DOM-Parsing/
[Constructor]
interface DOMParser {
[NewObject] Document parseFromString (DOMString str, SupportedType type);
};
[Constructor]
interface XMLSerializer {
DOMString serializeToString (Node root);
};
partial interface Element {
[TreatNullAs=EmptyString] attribute DOMString innerHTML;
[TreatNullAs=EmptyString] attribute DOMString outerHTML;
void insertAdjacentHTML (DOMString position, DOMString text);
};
partial interface Range {
[NewObject] DocumentFragment createContextualFragment (DOMString fragment);
};