Pointer Events capture test

Test Description: This test checks if setCapture/releaseCapture functions works properly. Complete the following actions:
  1. Move your mouse over the black rectangle. pointermove event should be logged in the black rectangle
  2. Move your mouse over the purple rectangle. pointerover event should be logged in the purple rectangle
  3. Press and hold left mouse button over "Set Capture" button. "gotpointercapture" should be logged in the black rectangle
  4. Move your mouse anywhere. pointermove should be logged in the black rectangle
  5. Move your mouse over the purple rectangle. Nothig should happen
  6. Move your mouse over the black rectangle. pointermove should be logged in the black rectangle
  7. 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: .