LibWeb: Implement Element::scroll(HTML::ScrollToOptions)

This commit is contained in:
Shannon Booth 2024-05-04 14:11:16 +12:00 committed by Andrew Kaster
commit 71819153cb
Notes: sideshowbarker 2024-07-17 06:35:16 +09:00
4 changed files with 54 additions and 3 deletions

View file

@ -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);