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

Unified Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-down-scroll-pinch-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-scroll-pinch-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-down-scroll-pinch-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-down-scroll-pinch-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7050520c526dad0004b24f6ad0a158e2ef65c9cc
--- /dev/null
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-down-scroll-pinch-expected.txt
@@ -0,0 +1,41 @@
+Gestures go here
+Gestures go here
+Tests gesture tapdown behaviour on different scroll / pinch settings.
+
+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 disabled, Pinch enabled.
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(box) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(box) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(box) is "hoveredAndActive"
+Scroll disabled, Pinch disabled.
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(box) is "default"
+tapDown on element should activate.
+PASS getHoverActiveState(box) is "hoveredAndActive"
+showPress on element should keep hover and active.
+PASS getHoverActiveState(box) is "hoveredAndActive"
+overflowBox with scrollable ancestor.
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(overflowBox) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(overflowBox) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(overflowBox) is "hoveredAndActive"
+Scroll enabled, Pinch disabled.
+Verify hover, active aren't initially set.
+PASS getHoverActiveState(box) is "default"
+tapdown on element should not activate.
+PASS getHoverActiveState(box) is "default"
+showPress on element should activate.
+PASS getHoverActiveState(box) is "hoveredAndActive"
+

Powered by Google App Engine
This is Rietveld 408576698