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

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: Address comments 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..2ab0bc392245dec27ac50091a911692268b150f1 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
+PASS isBoxDefault(box) is true
Verify tapdown,tap sets and clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxHovered(box) is true
Verify tapdown,tapcancel on the element sets and clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxHovered(box) is true
Verify tap elsewhere still clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxDefault(box) is true
Verify tapCancel elsewhere still clears active
-PASS isBoxActive() is true
-PASS isBoxActive() is false
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxDefault(box) is true
Verify that touchstart doesn't trigger active state
-PASS isBoxActive() is false
+PASS isBoxDefault(box) is true
Verify that touchstart/touchend doesn't cancel active
-PASS isBoxActive() is true
-PASS isBoxActive() is true
-PASS isBoxActive() is true
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxHoveredAndActive(box) is true
+PASS isBoxHovered(box) is true
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698