You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec has just "If the Element on which this method is invoked does not participate in its ownerDocument's tree, throw an exception with the name InvalidStateError."
That means that document.implementation.createHTMLDocument().body.setPointerCapture(id) should work, which is rather surprising. If that works, why the need for element to be in any document?
The text was updated successfully, but these errors were encountered:
The spec has just "If the Element on which this method is invoked does not participate in its ownerDocument's tree, throw an exception with the name InvalidStateError."
That means that document.implementation.createHTMLDocument().body.setPointerCapture(id) should work, which is rather surprising. If that works, why the need for element to be in any document?
The text was updated successfully, but these errors were encountered: