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