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