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

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

Issue 774203003: Update Window API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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-scroll.html
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-scroll.html b/LayoutTests/fast/scroll-behavior/main-frame-scroll.html
index a192f1e9db0032359d82bd60bd797612e711cbe4..73907e157d11d19b8e7e3cdab26e90f20760a3bb 100644
--- a/LayoutTests/fast/scroll-behavior/main-frame-scroll.html
+++ b/LayoutTests/fast/scroll-behavior/main-frame-scroll.html
@@ -21,7 +21,7 @@
function jsScroll(testCase) {
if (testCase.js) {
- window.scroll(testCase.x, testCase.y, {behavior: testCase.js});
+ window.scroll({left: testCase.x, top: testCase.y, behavior: testCase.js});
} else {
window.scroll(testCase.x, testCase.y);
}

Powered by Google App Engine
This is Rietveld 408576698