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

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-element-scrollBy.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/subframe-element-scrollBy.html
diff --git a/LayoutTests/fast/scroll-behavior/subframe-element-scrollBy.html b/LayoutTests/fast/scroll-behavior/subframe-element-scrollBy.html
index 05cb9548673222b56a8b199eece25433eb56e4a0..4068c65767f2a876321cc6449b2313f7d8ae2924 100644
--- a/LayoutTests/fast/scroll-behavior/subframe-element-scrollBy.html
+++ b/LayoutTests/fast/scroll-behavior/subframe-element-scrollBy.html
@@ -33,9 +33,9 @@
scrollToOptions.left = testCase.x;
if (testCase.y)
scrollToOptions.top = testCase.y;
- subframe.contentDocument.documentElement.scrollBy(scrollToOptions);
+ subframe.contentDocument.body.scrollBy(scrollToOptions);
} else {
- subframe.contentDocument.documentElement.scrollBy(testCase.x, testCase.y);
+ subframe.contentDocument.body.scrollBy(testCase.x, testCase.y);
}
}
@@ -67,7 +67,7 @@
}
var subframe = document.getElementById("subframe");
- var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.documentElement,
+ var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.body,
subframe.contentDocument,
testCases,
getEndPosition,

Powered by Google App Engine
This is Rietveld 408576698