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