diff --git a/pointerevents/pointerevent_setpointercapture_disconnected.html b/pointerevents/pointerevent_setpointercapture_disconnected.html new file mode 100644 index 00000000000000..7c228b922acc92 --- /dev/null +++ b/pointerevents/pointerevent_setpointercapture_disconnected.html @@ -0,0 +1,49 @@ + + + + setPointerCapture() throws on disconnected node + + + + + + + + +

Pointer Event: DOMException InvalidStateError

+

Test Description: + When the setPointerCapture method is invoked, if the target node does not participate in its ownerDocument's tree, a DOMException with the name InvalidStateError must be thrown. +

+
+
+ Use the mouse, touch or pen to contact this box. +
+
+
+ +