summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/ParentNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/ParentNode.h')
-rw-r--r--Libraries/LibWeb/DOM/ParentNode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/ParentNode.h b/Libraries/LibWeb/DOM/ParentNode.h
index 16b911fa80..23f0999795 100644
--- a/Libraries/LibWeb/DOM/ParentNode.h
+++ b/Libraries/LibWeb/DOM/ParentNode.h
@@ -35,8 +35,11 @@ public:
template<typename F> void for_each_child(F) const;
template<typename F> void for_each_child(F);
+ RefPtr<Element> query_selector(const StringView&);
+ NonnullRefPtrVector<Element> query_selector_all(const StringView&);
+
protected:
- explicit ParentNode(Document& document, NodeType type)
+ ParentNode(Document& document, NodeType type)
: Node(document, type)
{
}