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-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt
index f6d129c90de9e4fbc70c84d48cc21291d7d143f8..61b0968c531d9e7b60048737c93a9b7acb7715dc 100644
--- a/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-active-state-expected.txt
@@ -6,26 +6,30 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
See https://bugs.webkit.org/show_bug.cgi?id=96060 for details
+PASS successfullyParsed is true
+
+TEST COMPLETE
Verify active isn't initially set
-PASS isBoxActive() is false
-Verify tapdown,tap sets and clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
-Verify tapdown,tapcancel on the element sets and clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS getHoverActiveState(box) is "default"
+Verify showPress, tap sets and clears active
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "hovered"
+Verify showPress, tapCancel on the element sets and clears active
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "hovered"
Verify tap elsewhere still clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "default"
Verify tapCancel elsewhere still clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
-Verify that touchstart doesn't trigger active state
-PASS isBoxActive() is false
-Verify that touchstart/touchend doesn't cancel active
-PASS isBoxActive() is true
-PASS isBoxActive() is true
-PASS isBoxActive() is true
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "default"
+Verify that touchStart doesn't trigger active state
+PASS getHoverActiveState(box) is "default"
+Verify that touchStart/touchEnd doesn't cancel active
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "hoveredAndActive"
+PASS getHoverActiveState(box) is "hovered"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698