1 Test that calling scrollTo on the main frame's document element works with both scroll behaviors
3 This is a testharness.js-based test.
4 PASS Scroll x:1, y:2, smooth:false
5 PASS Scroll x:2, y:3, smooth:false
6 PASS Scroll x:3, y:4, smooth:false
7 PASS Scroll x:4, y:5, smooth:false
8 PASS Scroll x:3, y:undefined, smooth:false
9 PASS Scroll x:undefined, y:4, smooth:false
10 PASS Scroll x:undefined, y:undefined, smooth:false
11 PASS Scroll x:10, y:15, smooth:true
12 PASS Scroll x:20, y:25, smooth:true
13 PASS Scroll x:30, y:35, smooth:true
14 PASS Scroll x:40, y:45, smooth:true
15 PASS Scroll x:45, y:undefined, smooth:true
16 PASS Scroll x:undefined, y:40, smooth:true
17 PASS Scroll x:4000, y:4100, smooth:true
18 PASS Scroll x:15, y:20, smooth:true
19 PASS Scroll x:4100, y:4000, smooth:true
20 PASS Scroll x:10, y:5, smooth:true
21 Harness: the test ran to completion.