LibWeb: Add document.querySelector()

This commit is contained in:
Linus Groh 2020-05-25 21:12:00 +01:00 committed by Andreas Kling
commit 67b742bf32
Notes: sideshowbarker 2024-07-19 06:08:38 +09:00
8 changed files with 46 additions and 5 deletions

View file

@ -116,6 +116,7 @@ public:
void schedule_style_update();
Vector<const Element*> get_elements_by_name(const String&) const;
RefPtr<Element> query_selector(const StringView&);
NonnullRefPtrVector<Element> query_selector_all(const StringView&);
const String& source() const { return m_source; }