summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Node.idl
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-21 16:45:21 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-21 17:42:00 +0200
commit213e2793bd4fcfc6fec2b32ce2039dd05bba64cd (patch)
tree5cb0d84ea1fd926431685f2f6a485ecf74ce9d05 /Libraries/LibWeb/DOM/Node.idl
parent82a75bcf5fc1cffb00e45f06723ef06ce42c8830 (diff)
downloadserenity-213e2793bd4fcfc6fec2b32ce2039dd05bba64cd.zip
LibWeb: Add Node.insertBefore(Node node, Node? child)
Diffstat (limited to 'Libraries/LibWeb/DOM/Node.idl')
-rw-r--r--Libraries/LibWeb/DOM/Node.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/DOM/Node.idl b/Libraries/LibWeb/DOM/Node.idl
index 3bb148197d..33c883049d 100644
--- a/Libraries/LibWeb/DOM/Node.idl
+++ b/Libraries/LibWeb/DOM/Node.idl
@@ -9,5 +9,7 @@ interface Node : EventTarget {
readonly attribute Element? parentElement;
Node appendChild(Node node);
+ Node insertBefore(Node node, Node? child);
+
}