| Index: LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
|
| diff --git a/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html b/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
|
| index 9f4aac548bf111cdc92f4170faa11d0bd1a8e88c..0d085e57377779ad3a9cedf97ccf26dc98e14ea5 100644
|
| --- a/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
|
| +++ b/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
|
| @@ -34,9 +34,9 @@
|
| scrollToOptions.left = testCase.x;
|
| if (testCase.y)
|
| scrollToOptions.top = testCase.y;
|
| - document.body.scroll(scrollToOptions);
|
| + document.scrollingElement.scroll(scrollToOptions);
|
| } else {
|
| - document.body.scroll(testCase.x, testCase.y);
|
| + document.scrollingElement.scroll(testCase.x, testCase.y);
|
| }
|
| }
|
|
|
| @@ -67,7 +67,7 @@
|
| testCases.push(new ScrollBehaviorTestCase(testScrolls[i]));
|
| }
|
|
|
| - var scrollBehaviorTest = new ScrollBehaviorTest(document.body,
|
| + var scrollBehaviorTest = new ScrollBehaviorTest(document.scrollingElement,
|
| document,
|
| testCases,
|
| getEndPosition,
|
|
|