WebContent: Set WebDriver scroll behavior to "instant"
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

bba8cb7
This commit is contained in:
Timothy Flynn 2025-09-05 09:54:08 -04:00 committed by Tim Flynn
commit 4b68fab14c
Notes: github-actions[bot] 2025-09-05 14:24:21 +00:00

View file

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