OLD | NEW |
1 Test that setting scrollTop on an overflow:hidden element works with both scroll
behaviors | 1 Test that setting scrollTop on an overflow:hidden element works with both scroll
behaviors |
2 | 2 |
3 This is a testharness.js-based test. | 3 This is a testharness.js-based test. |
4 PASS Scroll x:0, y:2, smooth:false | 4 PASS Scroll x:0, y:2, smooth:false |
5 PASS Scroll x:0, y:4, smooth:false | 5 PASS Scroll x:0, y:4, smooth:false |
6 FAIL Scroll x:0, y:25, smooth:true assert_equals: expected "0, 4" but got "0, 25
" | 6 PASS Scroll x:0, y:25, smooth:true |
7 FAIL Scroll x:0, y:45, smooth:true assert_equals: expected "0, 25" but got "0, 4
5" | 7 PASS Scroll x:0, y:45, smooth:true |
8 FAIL Scroll x:0, y:4100, smooth:true assert_equals: expected "0, 45" but got "0,
4100" | 8 PASS Scroll x:0, y:4100, smooth:true |
9 FAIL Scroll x:0, y:20, smooth:true assert_equals: expected "0, 4100" but got "0,
20" | 9 PASS Scroll x:0, y:20, smooth:true |
10 Harness: the test ran to completion. | 10 Harness: the test ran to completion. |
11 | 11 |
OLD | NEW |