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() { |