| 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 102e56ea4461783df846950953dc630bcf72e4c1..9f4aac548bf111cdc92f4170faa11d0bd1a8e88c 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.documentElement.scroll(scrollToOptions);
|
| + document.body.scroll(scrollToOptions);
|
| } else {
|
| - document.documentElement.scroll(testCase.x, testCase.y);
|
| + document.body.scroll(testCase.x, testCase.y);
|
| }
|
| }
|
|
|
| @@ -67,7 +67,7 @@
|
| testCases.push(new ScrollBehaviorTestCase(testScrolls[i]));
|
| }
|
|
|
| - var scrollBehaviorTest = new ScrollBehaviorTest(document.documentElement,
|
| + var scrollBehaviorTest = new ScrollBehaviorTest(document.body,
|
| document,
|
| testCases,
|
| getEndPosition,
|
|
|