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