OLD | NEW |
1 Test that calling scrollBy on an overflow:hidden element works with both scroll
behaviors | 1 Test that calling scrollBy 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:1, y:2, smooth:false | 4 PASS Scroll x:1, y:2, smooth:false |
5 PASS Scroll x:2, y:3, smooth:false | 5 PASS Scroll x:2, y:3, smooth:false |
6 PASS Scroll x:3, y:4, smooth:false | 6 PASS Scroll x:3, y:4, smooth:false |
7 PASS Scroll x:4, y:5, smooth:false | 7 PASS Scroll x:4, y:5, smooth:false |
8 PASS Scroll x:3, y:undefined, smooth:false | 8 PASS Scroll x:3, y:undefined, smooth:false |
9 PASS Scroll x:undefined, y:4, smooth:false | 9 PASS Scroll x:undefined, y:4, smooth:false |
10 PASS Scroll x:undefined, y:undefined, smooth:false | 10 PASS Scroll x:undefined, y:undefined, smooth:false |
11 FAIL Scroll x:10, y:15, smooth:true assert_equals: expected "13, 18" but got "23
, 33" | 11 PASS Scroll x:10, y:15, smooth:true |
12 FAIL Scroll x:20, y:25, smooth:true assert_equals: expected "23, 33" but got "43
, 58" | 12 PASS Scroll x:20, y:25, smooth:true |
13 FAIL Scroll x:30, y:35, smooth:true assert_equals: expected "43, 58" but got "73
, 93" | 13 PASS Scroll x:30, y:35, smooth:true |
14 FAIL Scroll x:40, y:45, smooth:true assert_equals: expected "73, 93" but got "11
3, 138" | 14 PASS Scroll x:40, y:45, smooth:true |
15 FAIL Scroll x:-30, y:undefined, smooth:true assert_equals: expected "113, 138" b
ut got "83, 138" | 15 PASS Scroll x:-30, y:undefined, smooth:true |
16 FAIL Scroll x:undefined, y:-35, smooth:true assert_equals: expected "83, 138" bu
t got "83, 103" | 16 PASS Scroll x:undefined, y:-35, smooth:true |
17 FAIL Scroll x:4000, y:4100, smooth:true assert_equals: expected "83, 103" but go
t "4083, 4203" | 17 PASS Scroll x:4000, y:4100, smooth:true |
18 FAIL Scroll x:-3900, y:-3850, smooth:true assert_equals: expected "4083, 4203" b
ut got "183, 353" | 18 PASS Scroll x:-3900, y:-3850, smooth:true |
19 FAIL Scroll x:4050, y:4000, smooth:true assert_equals: expected "183, 353" but g
ot "4233, 4353" | 19 PASS Scroll x:4050, y:4000, smooth:true |
20 FAIL Scroll x:-4000, y:-4100, smooth:true assert_equals: expected "4233, 4353" b
ut got "233, 253" | 20 PASS Scroll x:-4000, y:-4100, smooth:true |
21 Harness: the test ran to completion. | 21 Harness: the test ran to completion. |
22 | 22 |
OLD | NEW |