1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

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

This commit is contained in:
Andreas Kling 2023-03-10 14:56:03 +01:00
parent 109ed27423
commit 8c5c78f1f1
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);