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

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-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/subframe-scrollLeft.html
diff --git a/LayoutTests/fast/scroll-behavior/subframe-scrollLeft.html b/LayoutTests/fast/scroll-behavior/subframe-scrollLeft.html
index 749bedd694be1a7122d2ffb0eeaa2bf4cce327ec..1a8f2732ed0942f7c2cdc582f1bb9c1bc2160a39 100644
--- a/LayoutTests/fast/scroll-behavior/subframe-scrollLeft.html
+++ b/LayoutTests/fast/scroll-behavior/subframe-scrollLeft.html
@@ -20,7 +20,7 @@
function jsScroll(testCase) {
var subframe = document.getElementById("subframe");
- subframe.contentDocument.body.scrollLeft = testCase.x;
+ subframe.contentDocument.scrollingElement.scrollLeft = testCase.x;
}
const testScrolls = [
@@ -40,7 +40,7 @@
}
var subframe = document.getElementById("subframe");
- var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.body,
+ var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.scrollingElement,
subframe.contentDocument,
testCases,
getEndPosition,
« no previous file with comments | « LayoutTests/fast/scroll-behavior/subframe-scrollBy.html ('k') | LayoutTests/fast/scroll-behavior/subframe-scrollTo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698