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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Gestures go here
2 Gestures go here
3 Tests gesture tapdown behaviour on different scroll / pinch settings.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8 See http://crbug.com/316974 for details
9
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13 Scroll disabled, Pinch enabled.
14 Verify hover, active aren't initially set.
15 PASS getHoverActiveState(box) is "default"
16 tapdown on element should not activate.
17 PASS getHoverActiveState(box) is "default"
18 showPress on element should activate.
19 PASS getHoverActiveState(box) is "hoveredAndActive"
20 Scroll disabled, Pinch disabled.
21 Verify hover, active aren't initially set.
22 PASS getHoverActiveState(box) is "default"
23 tapDown on element should activate.
24 PASS getHoverActiveState(box) is "hoveredAndActive"
25 showPress on element should keep hover and active.
26 PASS getHoverActiveState(box) is "hoveredAndActive"
27 overflowBox with scrollable ancestor.
28 Verify hover, active aren't initially set.
29 PASS getHoverActiveState(overflowBox) is "default"
30 tapdown on element should not activate.
31 PASS getHoverActiveState(overflowBox) is "default"
32 showPress on element should activate.
33 PASS getHoverActiveState(overflowBox) is "hoveredAndActive"
34 Scroll enabled, Pinch disabled.
35 Verify hover, active aren't initially set.
36 PASS getHoverActiveState(box) is "default"
37 tapdown on element should not activate.
38 PASS getHoverActiveState(box) is "default"
39 showPress on element should activate.
40 PASS getHoverActiveState(box) is "hoveredAndActive"
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698