OLD | NEW |
1 Test that setting scrollLeft on a subframe works with both scroll behaviors | 1 Test that setting scrollLeft on a subframe works with both scroll behaviors |
2 | 2 |
3 | 3 |
4 This is a testharness.js-based test. | 4 This is a testharness.js-based test. |
5 PASS Scroll x:1, y:0, smooth:false | 5 PASS Scroll x:1, y:0, smooth:false |
6 PASS Scroll x:2, y:0, smooth:false | |
7 PASS Scroll x:3, y:0, smooth:false | |
8 PASS Scroll x:4, y:0, smooth:false | 6 PASS Scroll x:4, y:0, smooth:false |
9 FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4, 0" but got "10, 0
" | 7 PASS Scroll x:20, y:0, smooth:true |
10 FAIL Scroll x:20, y:0, smooth:true assert_equals: expected "10, 0" but got "20,
0" | 8 PASS Scroll x:40, y:0, smooth:true |
11 FAIL Scroll x:30, y:0, smooth:true assert_equals: expected "20, 0" but got "30,
0" | 9 PASS Scroll x:4000, y:0, smooth:true |
12 FAIL Scroll x:40, y:0, smooth:true assert_equals: expected "30, 0" but got "40,
0" | 10 PASS Scroll x:10, y:0, smooth:true |
13 FAIL Scroll x:4000, y:0, smooth:true assert_equals: expected "40, 0" but got "40
00, 0" | |
14 FAIL Scroll x:15, y:0, smooth:true assert_equals: expected "4000, 0" but got "15
, 0" | |
15 FAIL Scroll x:4100, y:0, smooth:true assert_equals: expected "15, 0" but got "41
00, 0" | |
16 FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4100, 0" but got "10
, 0" | |
17 Harness: the test ran to completion. | 11 Harness: the test ran to completion. |
18 | 12 |
OLD | NEW |