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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt

Issue 197923006: Refactor touch hit-testing hover/active tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use states instead of colors 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
1 Gestures go here 1 Gestures go here
2 Tests that tap gesture events set and clear the active state of elements. 2 Tests that tap gesture events set and clear the active state of elements.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 See https://bugs.webkit.org/show_bug.cgi?id=96060 for details 7 See https://bugs.webkit.org/show_bug.cgi?id=96060 for details
8 8
9 Verify active isn't initially set
10 PASS isBoxActive() is false
11 Verify tapdown,tap sets and clears active
12 PASS isBoxActive() is true
13 PASS isBoxActive() is false
14 Verify tapdown,tapcancel on the element sets and clears active
15 PASS isBoxActive() is true
16 PASS isBoxActive() is false
17 Verify tap elsewhere still clears active
18 PASS isBoxActive() is true
19 PASS isBoxActive() is false
20 Verify tapCancel elsewhere still clears active
21 PASS isBoxActive() is true
22 PASS isBoxActive() is false
23 Verify that touchstart doesn't trigger active state
24 PASS isBoxActive() is false
25 Verify that touchstart/touchend doesn't cancel active
26 PASS isBoxActive() is true
27 PASS isBoxActive() is true
28 PASS isBoxActive() is true
29 PASS successfullyParsed is true 9 PASS successfullyParsed is true
30 10
31 TEST COMPLETE 11 TEST COMPLETE
12 Verify active isn't initially set
13 PASS getHoverActiveState(box) is "default"
14 Verify showPress, tap sets and clears active
15 PASS getHoverActiveState(box) is "hoveredAndActive"
16 PASS getHoverActiveState(box) is "hovered"
17 Verify showPress, tapCancel on the element sets and clears active
18 PASS getHoverActiveState(box) is "hoveredAndActive"
19 PASS getHoverActiveState(box) is "hovered"
20 Verify tap elsewhere still clears active
21 PASS getHoverActiveState(box) is "hoveredAndActive"
22 PASS getHoverActiveState(box) is "default"
23 Verify tapCancel elsewhere still clears active
24 PASS getHoverActiveState(box) is "hoveredAndActive"
25 PASS getHoverActiveState(box) is "default"
26 Verify that touchStart doesn't trigger active state
27 PASS getHoverActiveState(box) is "default"
28 Verify that touchStart/touchEnd doesn't cancel active
29 PASS getHoverActiveState(box) is "hoveredAndActive"
30 PASS getHoverActiveState(box) is "hoveredAndActive"
31 PASS getHoverActiveState(box) is "hoveredAndActive"
32 PASS getHoverActiveState(box) is "hovered"
33 PASS successfullyParsed is true
34
35 TEST COMPLETE
32 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698