1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

LibWeb: Add document.querySelector()

This commit is contained in:
Linus Groh 2020-05-25 21:12:00 +01:00 committed by Andreas Kling
parent 6e505b853e
commit 67b742bf32
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; }