LibWeb: Support DOMImplementation.createDocument() doctype parameter

1% progression on ACID3. :^)
This commit is contained in:
Andreas Kling 2022-03-02 08:56:17 +01:00
commit 05e9dceba6
Notes: sideshowbarker 2024-07-18 05:37:06 +09:00
3 changed files with 5 additions and 6 deletions

View file

@ -2,9 +2,8 @@
interface DOMImplementation {
// 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 createDocument(DOMString? namespace, [LegacyNullToEmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
[NewObject] Document createHTMLDocument(optional DOMString title);
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);