Pointer Events pointer lock test

Test Description: This test checks that we release the exsiting pointer capture when any element in the page gets a pointer lock.
  1. Press left button down on the green rectangle and hold it.
  2. Move the mouse inside the green rectangle.
  3. Click right button while keeping left button down
  4. Keep moving the mouse inside the green rectangle.
Test passes if the pointer capture is released on the yellow rectangle when the green rectangle gets the pointer lock.