diff --git a/pointerevents/mouse-pointer-boundary-events-for-shadowdom.html b/pointerevents/mouse-pointer-boundary-events-for-shadowdom.html index ea200d6c966560..70b7439ce40fef 100644 --- a/pointerevents/mouse-pointer-boundary-events-for-shadowdom.html +++ b/pointerevents/mouse-pointer-boundary-events-for-shadowdom.html @@ -12,63 +12,75 @@

PointerEvent: Verifies that mouse boundary events don't point to shadow-dom< + let outOfInputExpected = [ + "pointerout target=INPUT relatedTarget=BODY", + "pointerover target=BODY relatedTarget=INPUT", + "mouseout target=INPUT relatedTarget=BODY", + "mouseover target=BODY relatedTarget=INPUT", + ]; + assert_true(events_match_expected(receivedEvents, outOfInputExpected), "Moved out of "); + }, "PointerEvent: Verifies that mouse boundary events don't point to shadow-dom"); + \ No newline at end of file