Index: LayoutTests/fast/scroll-behavior/main-frame-interrupted-scroll.html |
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-interrupted-scroll.html b/LayoutTests/fast/scroll-behavior/main-frame-interrupted-scroll.html |
index 8f014ea367c14100d052dc8c5a4b9fc06d89eba1..e3cad276958aeeeae3274e071a399b7a5f147daa 100644 |
--- a/LayoutTests/fast/scroll-behavior/main-frame-interrupted-scroll.html |
+++ b/LayoutTests/fast/scroll-behavior/main-frame-interrupted-scroll.html |
@@ -19,7 +19,7 @@ |
function doTest() { |
const targets = {y_min: 40, y_mid: 3500, y_max: 7000}; |
const innerPoint = {x: 100, y: 100}; |
- var scrollInterruptionTest = new SmoothScrollInterruptionTest(document.body, |
+ var scrollInterruptionTest = new SmoothScrollInterruptionTest(document.scrollingElement, |
innerPoint, |
targets, |
jsScroll); |