mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Add document.querySelector()
This commit is contained in:
parent
6e505b853e
commit
67b742bf32
Notes:
sideshowbarker
2024-07-19 06:08:38 +09:00
Author: https://github.com/linusg
Commit: 67b742bf32
Pull-request: https://github.com/SerenityOS/serenity/pull/2380
8 changed files with 46 additions and 5 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue