Pointer Events capture test
Test Description: This test checks if setCapture/releaseCapture functions works properly. Complete the following actions:
Put your mouse over the black rectangle. pointerover and pointerenter should be logged inside of it.
Move your mouse out of the black rectangle. pointerout and pointerleave should be logged inside of it
Put your mouse over the purple rectangle. pointerover and pointerenter should be logged inside of it.
Move your mouse out of the purple rectangle. pointerout and pointerleave should be logged inside of it
Press and hold left mouse button over "Set Capture" button. "gotpointercapture" should be logged in the black rectangle
Put your mouse over the purple rectangle and then move it out. Nothing should happen
Put your mouse over the black rectangle. pointerover and pointerenter should be logged inside of it.
Move your mouse out of the black rectangle. pointerout and pointerleave should be logged inside of it
Release left mouse button. "lostpointercapture" should be logged in the black rectangle
Test passes if the proper behaviour of the events is observed.
Pointer Events Capture Test
The following pointer types were detected:
.