Pointer Events - lostpointercapture when capturing element in shadow dom is removed

Test Description: This test checks if lostpointercapture is fired at the document when the capturing node that is in shadow dom is removed from the shadow dom. Complete the following actions:
  1. Press left mouse button over "Set Capture" button. Pointer should be captured by the gray rectangle which is in shadow dom.
  2. Gray rectangle will be removed from shadow dom.
  3. "lostpointercapture" should be received on the document not on the gray rectangle.