OLD | NEW |
(Empty) | |
| 1 Test that calling scrollTo on an overflow:scroll element works with both scroll
behaviors |
| 2 |
| 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 FAIL Scroll x:10, y:15, smooth:true assert_equals: expected "3, 4" but got "10,
15" |
| 12 FAIL Scroll x:20, y:25, smooth:true assert_equals: expected "10, 15" but got "20
, 25" |
| 13 FAIL Scroll x:30, y:35, smooth:true assert_equals: expected "20, 25" but got "30
, 35" |
| 14 FAIL Scroll x:40, y:45, smooth:true assert_equals: expected "30, 35" but got "40
, 45" |
| 15 FAIL Scroll x:45, y:undefined, smooth:true assert_equals: expected "40, 45" but
got "45, 45" |
| 16 FAIL Scroll x:undefined, y:40, smooth:true assert_equals: expected "45, 45" but
got "45, 40" |
| 17 FAIL Scroll x:4000, y:4100, smooth:true assert_equals: expected "45, 40" but got
"4000, 4100" |
| 18 FAIL Scroll x:15, y:20, smooth:true assert_equals: expected "4000, 4100" but got
"15, 20" |
| 19 FAIL Scroll x:4100, y:4000, smooth:true assert_equals: expected "15, 20" but got
"4100, 4000" |
| 20 FAIL Scroll x:10, y:5, smooth:true assert_equals: expected "4100, 4000" but got
"10, 5" |
| 21 Harness: the test ran to completion. |
| 22 |
OLD | NEW |