diff options
author | Luke <luke.wilde@live.co.uk> | 2021-04-11 17:13:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-11 18:32:42 +0200 |
commit | 83d2c3f2f5da1e96925f0274d370d7aedf12d897 (patch) | |
tree | 5d4a274952bfaceb2bd1bb7e540adf5570110eb8 /Userland/Libraries/LibWeb/DOM/ParentNode.h | |
parent | fc9abee84b4f3be4e8dee33ad32ee0d0c36285a6 (diff) | |
download | serenity-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.h | 1 |
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&); |