mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
LibWeb: Stub out Element.scrollBy()
This commit is contained in:
parent
82f8b64017
commit
0b28a310b1
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/awesomekling
Commit: 0b28a310b1
Pull-request: https://github.com/SerenityOS/serenity/pull/23964
3 changed files with 16 additions and 2 deletions
|
@ -2130,6 +2130,18 @@ void Element::scroll(HTML::ScrollToOptions const&)
|
|||
dbgln("FIXME: Implement Element::scroll(ScrollToOptions)");
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-window-scrollby
|
||||
void Element::scroll_by(double x, double y)
|
||||
{
|
||||
dbgln("FIXME: Implement Element::scroll_by({}, {})", x, y);
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-window-scrollby
|
||||
void Element::scroll_by(HTML::ScrollToOptions const&)
|
||||
{
|
||||
dbgln("FIXME: Implement Element::scroll_by(ScrollToOptions)");
|
||||
}
|
||||
|
||||
bool Element::id_reference_exists(String const& id_reference) const
|
||||
{
|
||||
return document().get_element_by_id(id_reference);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue