Lostpointercapture triggers first and asynchronously

# Pointer Events capture test - lostpointercapture order

#### Test Description: This test checks if lostpointercapture is handled asynchronously and prior to all subsequent events. Complete the following actions:

1. Press and hold left mouse button over "Set Capture" button and move a little. "gotpointercapture" should be logged inside of the black rectangle
2. "lostpointercapture" should be logged inside of the black rectangle after pointerup

Test passes if lostpointercapture is dispatched after releasing the mouse button and before any additional pointer events.

# Pointer Events Capture Test

The following pointer types were detected: .

The following events were logged: .