summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Node.idl
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-10-02 20:37:45 +0100
committerAndreas Kling <kling@serenityos.org>2021-10-03 00:18:52 +0200
commit6a7739c6455a000ace70b9c28038f554c6579db8 (patch)
treec710e016f0293d05fe69bf7c992981e1fcbf9868 /Userland/Libraries/LibWeb/DOM/Node.idl
parent2f7fb1fe63530815c496e9324c14124a65f39b3f (diff)
downloadserenity-6a7739c6455a000ace70b9c28038f554c6579db8.zip
LibWeb: Convert Node.childNodes to NodeList
This changes the old child_nodes implementation to children_as_vector so that can still be used in insert_before.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Node.idl')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Node.idl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Node.idl b/Userland/Libraries/LibWeb/DOM/Node.idl
index a1a15d6baa..619164e8d7 100644
--- a/Userland/Libraries/LibWeb/DOM/Node.idl
+++ b/Userland/Libraries/LibWeb/DOM/Node.idl
@@ -4,8 +4,7 @@ interface Node : EventTarget {
readonly attribute DOMString nodeName;
boolean hasChildNodes();
- // FIXME: This should be a NodeList
- readonly attribute ArrayFromVector childNodes;
+ [SameObject] readonly attribute NodeList childNodes;
readonly attribute Node? firstChild;
readonly attribute Node? lastChild;
readonly attribute Node? previousSibling;