Skip to content

Truly independent web browser

Tests/LibWeb: Stop scrolling to the extent before a snap wheel step

Tim Ledbetter51518c51470c
diff --git a/Tests/LibWeb/Text/input/scroll-snap-wheel-step-during-programmatic-scroll.html b/Tests/LibWeb/Text/input/scroll-snap-wheel-step-during-programmatic-scroll.html
index 47f1f858a5d..0a061d27ed7 100644
--- a/Tests/LibWeb/Text/input/scroll-snap-wheel-step-during-programmatic-scroll.html
+++ b/Tests/LibWeb/Text/input/scroll-snap-wheel-step-during-programmatic-scroll.html
@@ -37,7 +37,7 @@
// The gesture stays latched for as long as it may still produce scrolls, so the next step must travel from
// where the programmatic scroll has taken the scrolling box.
- scroller.scrollTo({ top: 900, behavior: "smooth" });
+ scroller.scrollTo({ top: 600, behavior: "smooth" });
while (scroller.scrollTop < 400)
await animationFrame();