summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Node.idl
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-21 01:00:58 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-21 01:01:50 +0200
commitbc4fa7a3c9ab758ddde34c98a840375aeb0e77a3 (patch)
tree4ebe82e54d328947a54ebc8d89802cf710ba7b23 /Libraries/LibWeb/DOM/Node.idl
parentfaff557400a0c6979e82cf22769d9df6f988ed94 (diff)
downloadserenity-bc4fa7a3c9ab758ddde34c98a840375aeb0e77a3.zip
LibWeb: Expose Node.appendChild() to the web
This is a very barebones implementation of appendChild() that doesn't take any of the idiosyncratic DOM behaviors into account yet. Also teach the wrapper generator how to turn an Interpreter argument into a Node&.
Diffstat (limited to 'Libraries/LibWeb/DOM/Node.idl')
-rw-r--r--Libraries/LibWeb/DOM/Node.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOM/Node.idl b/Libraries/LibWeb/DOM/Node.idl
index 2fca1a6d8e..3bb148197d 100644
--- a/Libraries/LibWeb/DOM/Node.idl
+++ b/Libraries/LibWeb/DOM/Node.idl
@@ -8,5 +8,6 @@ interface Node : EventTarget {
readonly attribute Node? parentNode;
readonly attribute Element? parentElement;
+ Node appendChild(Node node);
}