OLD | NEW |
(Empty) | |
| 1 Test that calling scrollBy on the main frame works with both scroll behaviors |
| 2 |
| 3 This is a testharness.js-based test. |
| 4 PASS Scroll to x:1, y:2, smooth:false |
| 5 PASS Scroll to x:2, y:3, smooth:false |
| 6 PASS Scroll to x:3, y:4, smooth:false |
| 7 PASS Scroll to x:4, y:5, smooth:false |
| 8 FAIL Scroll to x:10, y:15, smooth:true assert_equals: expected "10, 14" but got
"20, 29" |
| 9 FAIL Scroll to x:20, y:25, smooth:true assert_equals: expected "20, 29" but got
"40, 54" |
| 10 FAIL Scroll to x:30, y:35, smooth:true assert_equals: expected "40, 54" but got
"70, 89" |
| 11 FAIL Scroll to x:40, y:45, smooth:true assert_equals: expected "70, 89" but got
"110, 134" |
| 12 FAIL Scroll to x:4000, y:4100, smooth:true assert_equals: expected "110, 134" bu
t got "4110, 4234" |
| 13 FAIL Scroll to x:-3900, y:-3850, smooth:true assert_equals: expected "4110, 4234
" but got "210, 384" |
| 14 FAIL Scroll to x:4050, y:4000, smooth:true assert_equals: expected "210, 384" bu
t got "4260, 4384" |
| 15 FAIL Scroll to x:-4000, y:-4100, smooth:true assert_equals: expected "4260, 4384
" but got "260, 284" |
| 16 Harness: the test ran to completion. |
| 17 |
OLD | NEW |