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

Unified Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-down-special-elements-expected.txt

Issue 163933002: Send early ShowPress on TapDown when page isn't scrollable/pinchable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Refactor into hasEarlyShowPress() Created 6 years, 9 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/gesture-tap-down-special-elements-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-down-special-elements-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-down-special-elements-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42fc2803c563d133892af647eeb653bcb8adab84
--- /dev/null
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-down-special-elements-expected.txt
@@ -0,0 +1,43 @@
+
+Tests gesture tapdown behaviour on different form elements.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+See http://crbug.com/316974 for details
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Scroll and Pinch are disabled on the page
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(combobox) is "default"
+tapDown on element should activate.
+PASS getHoverActiveState(combobox) is "hoveredAndActive"
+showPress on element should keep hover and active.
+PASS getHoverActiveState(combobox) is "hoveredAndActive"
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(listbox) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(listbox) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(listbox) is "hoveredAndActive"
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(textbox) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(textbox) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(textbox) is "hoveredAndActive"
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(textarea) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(textarea) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(textarea) is "hoveredAndActive"
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(frameBody) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(frameBody) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(frameBody) is "hoveredAndActive"
+

Powered by Google App Engine
This is Rietveld 408576698