OLD | NEW |
(Empty) | |
| 1 Test that setting scrollLeft 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:0, smooth:false |
| 5 PASS Scroll to x:2, y:0, smooth:false |
| 6 PASS Scroll to x:3, y:0, smooth:false |
| 7 PASS Scroll to x:4, y:0, smooth:false |
| 8 FAIL Scroll to x:10, y:0, smooth:true assert_equals: expected "4, 0" but got "10
, 0" |
| 9 FAIL Scroll to x:20, y:0, smooth:true assert_equals: expected "10, 0" but got "2
0, 0" |
| 10 FAIL Scroll to x:30, y:0, smooth:true assert_equals: expected "20, 0" but got "3
0, 0" |
| 11 FAIL Scroll to x:40, y:0, smooth:true assert_equals: expected "30, 0" but got "4
0, 0" |
| 12 FAIL Scroll to x:4000, y:0, smooth:true assert_equals: expected "40, 0" but got
"4000, 0" |
| 13 FAIL Scroll to x:15, y:0, smooth:true assert_equals: expected "4000, 0" but got
"15, 0" |
| 14 FAIL Scroll to x:4100, y:0, smooth:true assert_equals: expected "15, 0" but got
"4100, 0" |
| 15 FAIL Scroll to x:10, y:0, smooth:true assert_equals: expected "4100, 0" but got
"10, 0" |
| 16 Harness: the test ran to completion. |
| 17 |
OLD | NEW |