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