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

Unified Diff: LayoutTests/fast/scroll-behavior/main-frame-scrollLeft.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-scrollLeft.html
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-scrollLeft.html b/LayoutTests/fast/scroll-behavior/main-frame-scrollLeft.html
index 68c3f69e8ba5a2f921be0354970e81dbd9cc7b1c..3548983a107ab6fc17c09f9724e15e4a13d34325 100644
--- a/LayoutTests/fast/scroll-behavior/main-frame-scrollLeft.html
+++ b/LayoutTests/fast/scroll-behavior/main-frame-scrollLeft.html
@@ -20,7 +20,7 @@
}
function jsScroll(testCase) {
- document.documentElement.scrollLeft = testCase.x;
+ document.body.scrollLeft = testCase.x;
}
const testScrolls = [
@@ -39,7 +39,7 @@
testCases.push(new ScrollBehaviorTestCase(testScrolls[i]));
}
- var scrollBehaviorTest = new ScrollBehaviorTest(document.documentElement,
+ var scrollBehaviorTest = new ScrollBehaviorTest(document.body,
document,
testCases,
getEndPosition,
« no previous file with comments | « LayoutTests/fast/scroll-behavior/main-frame-scrollBy.html ('k') | LayoutTests/fast/scroll-behavior/main-frame-scrollTo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698