LibWeb: Implement Document.createAttribute{,NS}()

This commit is contained in:
Andreas Kling 2023-03-10 14:56:03 +01:00
commit 8c5c78f1f1
Notes: sideshowbarker 2024-07-17 01:46:00 +09:00
3 changed files with 31 additions and 2 deletions

View file

@ -81,6 +81,9 @@ interface Document : Node {
Comment createComment(DOMString data);
[NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
[NewObject] Attr createAttribute(DOMString localName);
[NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);
Range createRange();
Event createEvent(DOMString interface);