| Index: LayoutTests/fast/scroll-behavior/main-frame-scrollTop.html
|
| diff --git a/LayoutTests/fast/scroll-behavior/main-frame-scrollTop.html b/LayoutTests/fast/scroll-behavior/main-frame-scrollTop.html
|
| index 85565818437c2d90d2ae9a894c0b17a48dfd8a5b..98bd121e6dde13e10d0d4c1b275b9b68d0427fc4 100644
|
| --- a/LayoutTests/fast/scroll-behavior/main-frame-scrollTop.html
|
| +++ b/LayoutTests/fast/scroll-behavior/main-frame-scrollTop.html
|
| @@ -20,7 +20,7 @@
|
| }
|
|
|
| function jsScroll(testCase) {
|
| - document.body.scrollTop = testCase.y;
|
| + document.scrollingElement.scrollTop = testCase.y;
|
| }
|
|
|
| const testScrolls = [
|
| @@ -39,7 +39,7 @@
|
| testCases.push(new ScrollBehaviorTestCase(testScrolls[i]));
|
| }
|
|
|
| - var scrollBehaviorTest = new ScrollBehaviorTest(document.body,
|
| + var scrollBehaviorTest = new ScrollBehaviorTest(document.scrollingElement,
|
| document,
|
| testCases,
|
| getEndPosition,
|
|
|