Index: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field-expected.txt |
diff --git a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field-expected.txt b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ecff28eb6a00240d2827d131bba7b51779c415e |
--- /dev/null |
+++ b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field-expected.txt |
@@ -0,0 +1,46 @@ |
+ |
+This tests that an input text field can be properly scrolled with touch gestures |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+===Testing fling behavior=== |
+PASS box.scrollLeft is 0 |
+PASS container.scrollLeft is 0 |
+Flinging input text should scroll text by the specified amount |
+PASS box.scrollLeft is 40 |
+PASS container.scrollLeft is 0 |
+Flinging input text past the scrollable width shouldn't scroll containing div |
+PASS box.scrollLeft is fullyScrolled |
+PASS container.scrollLeft is 0 |
+Flinging fully scrolled input text should fling containing div |
+PASS box.scrollLeft is fullyScrolled |
+PASS container.scrollLeft is 60 |
+===Testing scroll behavior=== |
+PASS box.scrollLeft is 0 |
+PASS container.scrollLeft is 0 |
+Gesture scrolling input text should scroll text the specified amount |
+PASS box.scrollLeft is 60 |
+PASS container.scrollLeft is 0 |
+Gesture scrolling input text past scroll width should scroll container div |
+PASS box.scrollLeft is fullyScrolled |
+PASS container.scrollLeft is 50 |
+===Testing vertical scroll behavior=== |
+PASS box.scrollTop is 0 |
+PASS container.scrollTop is 0 |
+Vertically gesture scrolling input text should scroll containing div the specified amount |
+PASS box.scrollTop is 0 |
+PASS container.scrollTop is 60 |
+PASS box.scrollTop is 0 |
+PASS container.scrollTop is 0 |
+Vertically flinging input text should scroll the containing div the specified amount |
+PASS box.scrollTop is 0 |
+PASS container.scrollTop is 60 |
+===Testing non-overflow scroll behavior=== |
+Input box without overflow should not scroll |
+PASS box.scrollLeft is 0 |
+PASS container.scrollLeft is 0 |
+PASS box.clientWidth is >= box.scrollWidth |
+PASS box.scrollLeft is 0 |
+PASS container.scrollLeft is 60 |
+ |