blob: 043f71e42b8fce1822b0881800d58add0d850961 [file] [log] [blame]
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 {
[CEReactions, TreatNullAs=EmptyString] attribute DOMString innerHTML;
[CEReactions, TreatNullAs=EmptyString] attribute DOMString outerHTML;
[CEReactions] void insertAdjacentHTML (DOMString position, DOMString text);
};
partial interface Range {
[CEReactions, NewObject] DocumentFragment createContextualFragment (DOMString fragment);
};