2 Tests that tap gesture events set and clear the active state of elements.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 See https://bugs.webkit.org/show_bug.cgi?id=96060 for details
9 PASS successfullyParsed is true
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