diff --git a/index.html b/index.html index 53f52c6..ca4c8d4 100644 --- a/index.html +++ b/index.html @@ -818,7 +818,7 @@
Pointer capture is set on an element by calling the element.setPointerCapture(pointerId)
method. When this method is invoked, a user agent MUST run the following steps:
pointerId
provided as the method's argument does not match any of the active pointers, then throw a DOMException
with the name NotFoundError
.Element
on which this method is invoked is not connected
([[!DOM4]]), throw an exception with the name InvalidStateError
.Element
on which this method is invoked is not connected
([[!DOM4]]), throw an exception with the name InvalidStateError
.InvalidStateError
.pointerId
, set the pending pointer capture target override to the Element
on which this method was invoked.click
and lostpointercapture
events are fired,
click
SHOULD be fired before lostpointercapture
.
- When the pointer capture target override is removed from its ownerDocument
's tree,
+
When the pointer capture target override is no longer connected
([[!DOM4]]),
the pending pointer capture target override and pointer capture target override nodes SHOULD be cleared
and also a PointerEvent named lostpointercapture
corresponding to the captured pointer SHOULD be fired at the document.
When a pointer lock ([[!PointerLock]]) is successfully applied on an element, a user agent MUST run the steps as if the releasePointerCapture() method has been called if any element is set to be captured or pending to be captured.