You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
770 B
36 lines
770 B
// Retrived from http://www.w3.org/TR/DOM-Parsing/
|
|
// Wed Nov 4 15:39:43 GMT 2015
|
|
// Manually extracted IDL
|
|
|
|
enum SupportedType {
|
|
"text/html",
|
|
"text/xml",
|
|
"application/xml",
|
|
"application/xhtml+xml",
|
|
"image/svg+xml"
|
|
};
|
|
|
|
[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);
|
|
};
|