| OLD | NEW |
| 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 isBoxDefault(box) is true |
| 14 Verify tapdown,tap sets and clears active |
| 15 PASS isBoxHoveredAndActive(box) is true |
| 16 PASS isBoxHovered(box) is true |
| 17 Verify tapdown,tapcancel on the element sets and clears active |
| 18 PASS isBoxHoveredAndActive(box) is true |
| 19 PASS isBoxHovered(box) is true |
| 20 Verify tap elsewhere still clears active |
| 21 PASS isBoxHoveredAndActive(box) is true |
| 22 PASS isBoxDefault(box) is true |
| 23 Verify tapCancel elsewhere still clears active |
| 24 PASS isBoxHoveredAndActive(box) is true |
| 25 PASS isBoxDefault(box) is true |
| 26 Verify that touchstart doesn't trigger active state |
| 27 PASS isBoxDefault(box) is true |
| 28 Verify that touchstart/touchend doesn't cancel active |
| 29 PASS isBoxHoveredAndActive(box) is true |
| 30 PASS isBoxHoveredAndActive(box) is true |
| 31 PASS isBoxHoveredAndActive(box) is true |
| 32 PASS isBoxHovered(box) is true |
| 33 PASS successfullyParsed is true |
| 34 |
| 35 TEST COMPLETE |
| 32 | 36 |
| OLD | NEW |