mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
WebContent: Set WebDriver scroll behavior to "instant"
https://github.com/w3c/webdriver/commit/bba8cb7
This commit is contained in:
parent
7811c2e71b
commit
4b68fab14c
|
|
@ -122,6 +122,9 @@ static void scroll_element_into_view(Web::DOM::Element& element)
|
|||
{
|
||||
// 1. Let options be the following ScrollIntoViewOptions:
|
||||
Web::DOM::ScrollIntoViewOptions options {};
|
||||
// "behavior"
|
||||
// "instant"
|
||||
options.behavior = Web::Bindings::ScrollBehavior::Instant;
|
||||
// Logical scroll position "block"
|
||||
// "end"
|
||||
options.block = Web::Bindings::ScrollLogicalPosition::End;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user