mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-27 11:48:59 +00:00
LibWeb: Implement Element::scroll(HTML::ScrollToOptions)
This commit is contained in:
parent
37ca32d62c
commit
71819153cb
Notes:
sideshowbarker
2024-07-17 06:35:16 +09:00
Author: https://github.com/shannonbooth
Commit: 71819153cb
Pull-request: https://github.com/SerenityOS/serenity/pull/24200
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/awesomekling
4 changed files with 54 additions and 3 deletions
|
@ -335,7 +335,7 @@ public:
|
|||
void set_custom_element_state(CustomElementState value) { m_custom_element_state = value; }
|
||||
void setup_custom_element_from_constructor(HTML::CustomElementDefinition& custom_element_definition, Optional<String> const& is_value);
|
||||
|
||||
void scroll(HTML::ScrollToOptions const&);
|
||||
void scroll(HTML::ScrollToOptions);
|
||||
void scroll(double x, double y);
|
||||
void scroll_by(HTML::ScrollToOptions);
|
||||
void scroll_by(double x, double y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue