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