OLD | NEW |
1 | 1 |
2 This tests that an input text field can be properly scrolled with touch gestures | 2 This tests that an input text field can be properly scrolled with touch gestures |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 ===Testing fling behavior=== | 10 ===Testing fling behavior=== |
11 PASS box.scrollLeft is 0 | 11 PASS box.scrollLeft is 0 |
12 PASS container.scrollLeft is 0 | 12 PASS container.scrollLeft is 0 |
13 Flinging input text should scroll text by the specified amount | 13 Flinging input text should scroll text by the specified amount |
14 PASS box.scrollLeft is 40 | 14 PASS box.scrollLeft is 40 |
15 PASS container.scrollLeft is 0 | 15 PASS container.scrollLeft is 0 |
16 Flinging input text past the scrollable width shouldn't scroll containing div | 16 Flinging input text past the scrollable width shouldn't scroll containing div |
17 PASS box.scrollLeft is fullyScrolled | 17 PASS box.scrollLeft is fullyScrolled |
18 PASS container.scrollLeft is 0 | 18 PASS container.scrollLeft is 0 |
19 Flinging fully scrolled input text should fling containing div | 19 Flinging fully scrolled input text should fling containing div |
20 PASS box.scrollLeft is fullyScrolled | 20 PASS box.scrollLeft is fullyScrolled |
21 PASS container.scrollLeft is 60 | 21 PASS container.scrollLeft is 60 |
22 ===Testing scroll behavior=== | 22 ===Testing scroll behavior=== |
23 PASS box.scrollLeft is 0 | 23 PASS box.scrollLeft is 0 |
24 PASS container.scrollLeft is 0 | 24 PASS container.scrollLeft is 0 |
25 Gesture scrolling input text should scroll text the specified amount | 25 Gesture scrolling input text should scroll text the specified amount |
26 PASS box.scrollLeft is 60 | 26 PASS box.scrollLeft is 60 |
27 PASS container.scrollLeft is 0 | 27 PASS container.scrollLeft is 0 |
28 Gesture scrolling input text past scroll width should scroll container div | 28 Gesture scrolling input text past scroll width shouldn't scroll container div |
29 PASS box.scrollLeft is fullyScrolled | 29 PASS box.scrollLeft is fullyScrolled |
30 PASS container.scrollLeft is 50 | 30 PASS container.scrollLeft is 0 |
31 ===Testing vertical scroll behavior=== | 31 ===Testing vertical scroll behavior=== |
32 PASS box.scrollTop is 0 | 32 PASS box.scrollTop is 0 |
33 PASS container.scrollTop is 0 | 33 PASS container.scrollTop is 0 |
34 Vertically gesture scrolling input text should scroll containing div the specifi
ed amount | 34 Vertically gesture scrolling input text should scroll containing div the specifi
ed amount |
35 PASS box.scrollTop is 0 | 35 PASS box.scrollTop is 0 |
36 PASS container.scrollTop is 60 | 36 PASS container.scrollTop is 60 |
37 PASS box.scrollTop is 0 | 37 PASS box.scrollTop is 0 |
38 PASS container.scrollTop is 0 | 38 PASS container.scrollTop is 0 |
39 Vertically flinging input text should scroll the containing div the specified am
ount | 39 Vertically flinging input text should scroll the containing div the specified am
ount |
40 PASS box.scrollTop is 0 | 40 PASS box.scrollTop is 0 |
41 PASS container.scrollTop is 60 | 41 PASS container.scrollTop is 60 |
42 ===Testing non-overflow scroll behavior=== | 42 ===Testing non-overflow scroll behavior=== |
43 Input box without overflow should not scroll | 43 Input box without overflow should not scroll |
44 PASS box.scrollLeft is 0 | 44 PASS box.scrollLeft is 0 |
45 PASS container.scrollLeft is 0 | 45 PASS container.scrollLeft is 0 |
46 PASS box.clientWidth is >= box.scrollWidth | 46 PASS box.clientWidth is >= box.scrollWidth |
47 PASS box.scrollLeft is 0 | 47 PASS box.scrollLeft is 0 |
48 PASS container.scrollLeft is 60 | 48 PASS container.scrollLeft is 60 |
49 | 49 |
OLD | NEW |