Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html

Issue 882153004: Re-enable main-frame and subframe CSSOM smooth scroll layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use nullptr instead of 0 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html b/LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html
index da8630149f070604432b594ca92558a3e2509057..fc44418223c1ed710960e80ec247d332901c9fb5 100644
--- a/LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html
+++ b/LayoutTests/fast/scroll-behavior/main-frame-element-scrollTo.html
@@ -34,9 +34,9 @@
scrollToOptions.left = testCase.x;
if (testCase.y)
scrollToOptions.top = testCase.y;
- document.documentElement.scrollTo(scrollToOptions);
+ document.body.scrollTo(scrollToOptions);
} else {
- document.documentElement.scrollTo(testCase.x, testCase.y);
+ document.body.scrollTo(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,

Powered by Google App Engine
This is Rietveld 408576698