OLD | NEW |
1 Check if any mousedown-mouseup pairs in one element dispatch click events. | 1 Check if any mousedown-mouseup pairs in one element dispatch click events. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 This test needs to run in a test environment. | 6 This test needs to run in a test environment. |
7 Very normal click on container: | 7 Very normal click on container: |
8 PASS lastClickTarget is container | 8 PASS lastClickTarget is container |
9 Move inside container: | 9 Move inside container: |
10 PASS lastClickTarget is container | 10 PASS lastClickTarget is container |
11 Move from container to a child: | 11 Move from container to a child: |
12 PASS lastClickTarget is container | 12 PASS lastClickTarget is container |
13 Move from a child to container: | 13 Move from a child to container: |
14 PASS lastClickTarget is container | 14 PASS lastClickTarget is container |
15 Move from a child to another child: | 15 Move from a child to another child: |
16 PASS lastClickTarget is container | 16 PASS lastClickTarget is container |
17 Move out from a child: | 17 Move out from a child: |
18 PASS lastClickTarget is document.body | 18 PASS lastClickTarget is document.body |
19 Removing a child element in the light DOM during a click: | 19 Removing a child element in the light DOM during a click: |
20 PASS lastClickTarget is null | 20 PASS lastClickTarget is null |
21 Click on escaping button content: | 21 Click on escaping button content: |
22 PASS lastClickTarget is button1 | 22 PASS lastClickTarget is button1 |
23 Click on disappearing INPUT value: | 23 Click on disappearing INPUT value: |
24 PASS lastClickTarget is input1 | 24 PASS lastClickTarget is input1 |
| 25 Mousedown on a form control, and mouseup on an element outside: |
| 26 PASS lastClickTarget is null |
25 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
26 | 28 |
27 TEST COMPLETE | 29 TEST COMPLETE |
28 | 30 |
OLD | NEW |