mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb: Use optimized invalidation for target-related pseudo classes
This commit is contained in:
parent
414e0cc930
commit
6da48c60ca
Notes:
github-actions[bot]
2025-04-17 17:47:11 +00:00
Author: https://github.com/awesomekling
Commit: 6da48c60ca
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4388
2 changed files with 25 additions and 5 deletions
|
@ -435,7 +435,7 @@ public:
|
|||
void set_active_element(Element*);
|
||||
|
||||
Element const* target_element() const { return m_target_element.ptr(); }
|
||||
void set_target_element(Element*);
|
||||
void set_target_element(GC::Ptr<Element>);
|
||||
|
||||
void try_to_scroll_to_the_fragment();
|
||||
void scroll_to_the_fragment();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue