mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:37:36 +00:00
LibWeb: Add createDocument and createDocumentType for DOMImplementation
Both required for the acid3 test. createDocument is used extensively in Web Platform Tests.
This commit is contained in:
parent
5952bc1ea4
commit
7c6c7ca542
4 changed files with 58 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
|||
interface DOMImplementation {
|
||||
|
||||
Document createHTMLDocument(optional DOMString title);
|
||||
// FIXME: This is missing "optional DocumentType? doctype = null" at the end.
|
||||
// FIXME: This should return XMLDocument instead of Document.
|
||||
[NewObject] Document createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName);
|
||||
[NewObject] Document createHTMLDocument(optional DOMString title);
|
||||
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
|
||||
|
||||
boolean hasFeature();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue