mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
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
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:
parent
7811c2e71b
commit
4b68fab14c
Notes:
github-actions[bot]
2025-09-05 14:24:21 +00:00
Author: https://github.com/trflynn89
Commit: 4b68fab14c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6082
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue