mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Give Document a "target element"
The target element is the one matching the URL fragment. We don't yet set it to anything.
This commit is contained in:
parent
28aa4ca767
commit
13b4bf48a8
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/AtkinsSJ
Commit: 13b4bf48a8
Pull-request: https://github.com/SerenityOS/serenity/pull/20501
Reviewed-by: https://github.com/shannonbooth
4 changed files with 28 additions and 1 deletions
|
@ -168,6 +168,7 @@ public:
|
|||
|
||||
bool is_focused() const;
|
||||
bool is_active() const;
|
||||
bool is_target() const;
|
||||
|
||||
JS::NonnullGCPtr<HTMLCollection> get_elements_by_class_name(DeprecatedFlyString const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue