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

Side by Side Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-cancel-hover-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 gesture tapcancel clears hover properly 2 Tests that gesture tapcancel clears hover properly
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 http://crbug.com/316974 for details 7 See http://crbug.com/316974 for details
8 8
9 Verify hover, active aren't initially set
10 PASS isBoxDefault() is true
11 tapcancel on element when it is Active should keep hover
12 PASS isBoxHoverActive() is true
13 PASS isBoxHovered() is true
14 tapcancel outside element when it is Active should clear it
15 PASS isBoxHoverActive() is true
16 PASS isBoxDefault() is true
17 tapcancel on element when it is hovered but not active should keep hover
18 PASS isBoxHovered() is true
19 PASS isBoxHovered() is true
20 tapcancel outside element when it is hovered but not active should keep hover
21 PASS isBoxHovered() is true
22 PASS isBoxHovered() is true
23 PASS successfullyParsed is true 9 PASS successfullyParsed is true
24 10
25 TEST COMPLETE 11 TEST COMPLETE
12 Verify hover, active aren't initially set
13 PASS getHoverActiveState(box) is "default"
14 tapCancel on element when it is Active should keep hover
15 PASS getHoverActiveState(box) is "hoveredAndActive"
16 PASS getHoverActiveState(box) is "hovered"
17 tapCancel outside element when it is Active should clear it
18 PASS getHoverActiveState(box) is "hoveredAndActive"
19 PASS getHoverActiveState(box) is "default"
20 tapCancel on element when it is hovered but not active should keep hover
21 PASS getHoverActiveState(box) is "hovered"
22 PASS getHoverActiveState(box) is "hovered"
23 tapCancel outside element when it is hovered but not active should keep hover
24 PASS getHoverActiveState(box) is "hovered"
25 PASS getHoverActiveState(box) is "hovered"
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698