mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement DOMImplementation::createDocument
Spec: http://dom.spec.whatwg.org/#dom-domimplementation-createdocument Closes #1509.
This commit is contained in:
parent
bb8a037cb2
commit
41898f0a76
2 changed files with 39 additions and 3 deletions
|
@ -17,10 +17,10 @@ interface DOMImplementation {
|
|||
[Creator, Throws]
|
||||
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId,
|
||||
DOMString systemId);
|
||||
/*[Throws]
|
||||
[Creator, Throws]
|
||||
Document createDocument(DOMString? namespace,
|
||||
[TreatNullAs=EmptyString] DOMString qualifiedName,
|
||||
optional DocumentType? doctype = null);*/
|
||||
optional DocumentType? doctype = null);
|
||||
[Creator]
|
||||
Document createHTMLDocument(optional DOMString title);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue