OLD | NEW |
1 Test that setting scrollLeft on an overflow:hidden element works with both scrol
l behaviors | 1 Test that setting scrollLeft on an overflow:hidden 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:4, y:0, smooth:false | 5 PASS Scroll x:4, y:0, smooth:false |
6 FAIL Scroll x:20, y:0, smooth:true assert_equals: expected "4, 0" but got "20, 0
" | 6 PASS Scroll x:20, y:0, smooth:true |
7 FAIL Scroll x:40, y:0, smooth:true assert_equals: expected "20, 0" but got "40,
0" | 7 PASS Scroll x:40, y:0, smooth:true |
8 FAIL Scroll x:4000, y:0, smooth:true assert_equals: expected "40, 0" but got "40
00, 0" | 8 PASS Scroll x:4000, y:0, smooth:true |
9 FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4000, 0" but got "10
, 0" | 9 PASS Scroll x:10, y:0, smooth:true |
10 Harness: the test ran to completion. | 10 Harness: the test ran to completion. |
11 | 11 |
OLD | NEW |