blob: 65bceb01a8575cb90e2db49c9f9ff1c718ddf437 [file] [log] [blame]
package 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);
};