mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibWeb: Support Element.closest(selectors)
This commit is contained in:
parent
70ede2825e
commit
c646afc26c
3 changed files with 28 additions and 0 deletions
|
@ -63,6 +63,7 @@ public:
|
|||
RefPtr<DOMTokenList> const& class_list();
|
||||
|
||||
DOM::ExceptionOr<bool> matches(StringView selectors) const;
|
||||
DOM::ExceptionOr<DOM::Element const*> closest(StringView selectors) const;
|
||||
|
||||
int client_top() const;
|
||||
int client_left() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue