mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Update web-platform-tests to revision 614fd870e47c9f4e76291e5af4e32b676c0acac0
This commit is contained in:
parent
063bd7ac19
commit
b49ffaa0f7
137 changed files with 4756 additions and 721 deletions
|
@ -4,30 +4,30 @@
|
|||
// Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/)
|
||||
|
||||
[Constructor, Exposed=Window]
|
||||
interface DOMParser {
|
||||
[NewObject] Document parseFromString(DOMString str, SupportedType type);
|
||||
};
|
||||
interface DOMParser {
|
||||
[NewObject] Document parseFromString(DOMString str, SupportedType type);
|
||||
};
|
||||
|
||||
enum SupportedType {
|
||||
"text/html",
|
||||
"text/xml",
|
||||
"application/xml",
|
||||
"application/xhtml+xml",
|
||||
"image/svg+xml"
|
||||
};
|
||||
enum SupportedType {
|
||||
"text/html",
|
||||
"text/xml",
|
||||
"application/xml",
|
||||
"application/xhtml+xml",
|
||||
"image/svg+xml"
|
||||
};
|
||||
|
||||
[Constructor, Exposed=Window]
|
||||
|
||||
interface XMLSerializer {
|
||||
DOMString serializeToString(Node root);
|
||||
};
|
||||
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);
|
||||
};
|
||||
[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);
|
||||
};
|
||||
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue