W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Should events be paused on detached iframes?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 26 Aug 2010 03:27:25 -0400
Message-ID: <4C76175D.6080000@mit.edu>
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
Received on Thursday, 26 August 2010 00:27:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC