Re: [pointerevents] Should pointer capture work when element is in non-browsing-context

Are events even dispatched to the created document? Or orphaned nodes 
in general?If it is the case, I think we shouldn't allow capturing.

The following case is similar but trickier:
target.setPointerCapture(id);
document.body.removeChild(target);
document2.body.appendChild(target);
Should we release the capture when target is orphan?

I checked it in Chrome, with document2=document. The capturing is not 
effective---perhaps EventDispatcher is smart enough to handle this.

-- 
GitHub Notification of comment by mustaqahmed
Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/172#issuecomment-275433734
 using your GitHub account

Received on Thursday, 26 January 2017 16:35:27 UTC