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

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

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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 3548983a107ab6fc17c09f9724e15e4a13d34325..c412af1c4a24d37772864104a68132b8911bd349 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.body.scrollLeft = testCase.x;
+ document.scrollingElement.scrollLeft = testCase.x;
}
const testScrolls = [
@@ -39,7 +39,7 @@
testCases.push(new ScrollBehaviorTestCase(testScrolls[i]));
}
- var scrollBehaviorTest = new ScrollBehaviorTest(document.body,
+ var scrollBehaviorTest = new ScrollBehaviorTest(document.scrollingElement,
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