summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/ParentNode.h
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2021-04-11 17:13:10 +0100
committerAndreas Kling <kling@serenityos.org>2021-04-11 18:32:42 +0200
commit83d2c3f2f5da1e96925f0274d370d7aedf12d897 (patch)
tree5d4a274952bfaceb2bd1bb7e540adf5570110eb8 /Userland/Libraries/LibWeb/DOM/ParentNode.h
parentfc9abee84b4f3be4e8dee33ad32ee0d0c36285a6 (diff)
downloadserenity-83d2c3f2f5da1e96925f0274d370d7aedf12d897.zip
LibWeb: Move element_child_count to ParentNode and add its IDL attribute
I initially had it in Node just because, but then saw it was part of ParentNode in the spec.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/ParentNode.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/ParentNode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/ParentNode.h b/Userland/Libraries/LibWeb/DOM/ParentNode.h
index 0fa6e8f1fe..ad07f3cb3c 100644
--- a/Userland/Libraries/LibWeb/DOM/ParentNode.h
+++ b/Userland/Libraries/LibWeb/DOM/ParentNode.h
@@ -40,6 +40,7 @@ public:
RefPtr<Element> first_element_child();
RefPtr<Element> last_element_child();
+ u32 child_element_count() const;
RefPtr<Element> query_selector(const StringView&);
NonnullRefPtrVector<Element> query_selector_all(const StringView&);