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

Unified Diff: LayoutTests/fast/scroll-behavior/main-frame-element-scroll.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/TestExpectations ('k') | LayoutTests/fast/scroll-behavior/main-frame-element-scrollBy.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html b/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
index 102e56ea4461783df846950953dc630bcf72e4c1..9f4aac548bf111cdc92f4170faa11d0bd1a8e88c 100644
--- a/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
+++ b/LayoutTests/fast/scroll-behavior/main-frame-element-scroll.html
@@ -34,9 +34,9 @@
scrollToOptions.left = testCase.x;
if (testCase.y)
scrollToOptions.top = testCase.y;
- document.documentElement.scroll(scrollToOptions);
+ document.body.scroll(scrollToOptions);
} else {
- document.documentElement.scroll(testCase.x, testCase.y);
+ document.body.scroll(testCase.x, testCase.y);
}
}
@@ -67,7 +67,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/TestExpectations ('k') | LayoutTests/fast/scroll-behavior/main-frame-element-scrollBy.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698