OLD | NEW |
1 This tests that a page cannot be scrolled vertically with touch (but can still b
e scrolled horizontally) if its body has style overflow-y:hidden. The scroll eve
nts in this test have both an x and y component. | 1 This tests that a page cannot be scrolled vertically with touch (but can still b
e scrolled horizontally) if its body has style overflow-y:hidden. The scroll eve
nts in this test have both an x and y component. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 first gesture | 6 first gesture |
7 FAIL document.body.scrollTop should be 0. Was 110. | 7 FAIL document.documentElement.scrollTop should be 0. Was 110. |
8 FAIL document.body.scrollLeft should be 55. Was 0. | 8 FAIL document.documentElement.scrollLeft should be 55. Was 0. |
9 PASS wheelEventsOccurred is 0 | 9 PASS wheelEventsOccurred is 0 |
10 second gesture | 10 second gesture |
11 FAIL document.body.scrollTop should be 0. Was 205. | 11 FAIL document.documentElement.scrollTop should be 0. Was 205. |
12 FAIL document.body.scrollLeft should be 97. Was 0. | 12 FAIL document.documentElement.scrollLeft should be 97. Was 0. |
13 PASS wheelEventsOccurred is 0 | 13 PASS wheelEventsOccurred is 0 |
14 scroll event 0+> [object HTMLDocument] | 14 scroll event 0+> [object HTMLDocument] |
15 PASS scrollEventsOccurred is 1 | 15 PASS scrollEventsOccurred is 1 |
16 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
17 | 17 |
18 TEST COMPLETE | 18 TEST COMPLETE |
19 | 19 |
OLD | NEW |