[whatwg] Should events be paused on detached iframes?

Boris Zbarsky bzbarsky at MIT.EDU
Thu Aug 26 00:27:25 PDT 2010


On 8/26/10 3:23 AM, James May wrote:
> Couldn't the iframe be kept alive, but remain "associated" with it's
> parent browsing context until (if) it was re-parented / inserted into a
> different document. (does this match what other elements in the DOM
> behave in terms of event handlers when they are detached?)

Elements behave fine.  The question is what the Window should do.  What 
should window.parent return in the iframe while detached?  window.top? 
What should window.resizeTo do?  That sort of thing.

-Boris



More information about the whatwg mailing list