Pointer Events capture test

Test Description: This test checks if setCapture/releaseCapture functions works properly. Complete the following actions:
  1. Put your mouse over the black rectangle. pointerover and pointerenter should be logged inside of it.
  2. Move your mouse out of the black rectangle. pointerout and pointerleave should be logged inside of it
  3. Put your mouse over the purple rectangle. pointerover and pointerenter should be logged inside of it.
  4. Move your mouse out of the purple rectangle. pointerout and pointerleave should be logged inside of it
  5. Press and hold left mouse button over "Set Capture" button and move mouse a litte inside the button. "gotpointercapture", "pointerover", and "pointerenter" should be logged in the black rectangle
  6. Put your mouse over the purple rectangle and then move it out. Nothing should happen
  7. Put your mouse over the black rectangle and then move it out. Nothing should happen.
  8. Put your mouse over the purple rectangle and then release left mouse button. "lostpointercapture" should be logged in the black rectangle. Move your mouse in the purple rectangle a little. "pointerout" and "pointerleave" should be logged in the black rectangle. Also "pointerover" and "pointerenter" should be logged in the purple rectangle"

Test passes if the proper behaviour of the events is observed.


Pointer Events Capture Test

The following pointer types were detected: .