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

Unified Diff: LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html

Issue 782793002: Update Element API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/overflow-interrupted-scroll.html
diff --git a/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html b/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html
index 869a4ec1fdc63cd1da91d52d690647a6e4e2d219..a5333d8cebab6172fc742dede4971887dfba3a35 100644
--- a/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html
+++ b/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html
@@ -19,7 +19,7 @@
<script src="resources/scroll-interruption-test.js"></script>
<script type="text/javascript">
function jsScroll(y) {
- document.getElementById('container').scrollTop = {y: y, behavior: 'smooth'};
+ document.getElementById('container').scrollTo({top: y, behavior: 'smooth'});
}
function doTest() {

Powered by Google App Engine
This is Rietveld 408576698