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

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-scrollTop.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
« no previous file with comments | « LayoutTests/fast/scroll-behavior/subframe-scrollTo.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/scroll-behavior/subframe-scrollTop.html
diff --git a/LayoutTests/fast/scroll-behavior/subframe-scrollTop.html b/LayoutTests/fast/scroll-behavior/subframe-scrollTop.html
index 885058252fb27fece5556941773bba0abc447ee2..d94011b88f2a0d05722e0602ad99fce1befb3125 100644
--- a/LayoutTests/fast/scroll-behavior/subframe-scrollTop.html
+++ b/LayoutTests/fast/scroll-behavior/subframe-scrollTop.html
@@ -20,7 +20,7 @@
function jsScroll(testCase) {
var subframe = document.getElementById("subframe");
- subframe.contentDocument.documentElement.scrollTop = testCase.y;
+ subframe.contentDocument.body.scrollTop = testCase.y;
}
const testScrolls = [
@@ -40,7 +40,7 @@
}
var subframe = document.getElementById("subframe");
- var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.documentElement,
+ var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.body,
subframe.contentDocument,
testCases,
getEndPosition,
« no previous file with comments | « LayoutTests/fast/scroll-behavior/subframe-scrollTo.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698