Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field-expected.txt

Issue 22488004: Made text inside <input> elements scrollable using touch gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: layout test fixes Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+
« no previous file with comments | « LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-input-field.html ('k') | Source/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698