Pointer Events movement with pointerlock test

Test Description: This test checks pointerevent movementX/Y value with pointerlock. It checks whether movement X/Y matches event.screenX/Y - last_event.screenX/Y when pointer is not locked; And if pointermove.movementX/Y matches mousemove.movementX/Y when pointer is locked.
  1. Move the mouse inside the green rectangle.
  2. Click left button on the green rectangle.(Enter pointerlock)
  3. Move the mouse around.
  4. Click left button again
  5. Move the mouse inside the green rectangle.
  6. Click left button again to end the test.
Test passes if the proper behavior of the events is observed.