W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2010

html5/spec Overview.html,1.4158,1.4159

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 30 Jul 2010 00:08:13 +0000
To: public-html-commits@w3.org
Message-Id: <E1Oed94-0006kw-0j@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25956

Modified Files:
	Overview.html 
Log Message:
Make some notes about the lifetime of <iframe> documents. (whatwg r5224)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4158
retrieving revision 1.4159
diff -u -d -r1.4158 -r1.4159
--- Overview.html	29 Jul 2010 23:41:55 -0000	1.4158
+++ Overview.html	30 Jul 2010 00:08:09 -0000	1.4159
@@ -308,7 +308,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-29-july-2010">Editor's Draft 29 July 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-30-july-2010">Editor's Draft 30 July 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -414,7 +414,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 29 July 2010 Editor's Draft.
+  This specification is the 30 July 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -18434,7 +18434,34 @@
   initial <code><a href="#about:blank">about:blank</a></code> page.<p class="note">If the user <a href="#navigate" title="navigate">navigates</a>
   away from this page, the <code><a href="#the-iframe-element">iframe</a></code>'s corresponding
   <code><a href="#windowproxy">WindowProxy</a></code> object will proxy new <code><a href="#window">Window</a></code>
-  objects for new <code><a href="#document">Document</a></code> objects, but the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute will not change.<div class="example">
+  objects for new <code><a href="#document">Document</a></code> objects, but the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute will not change.<div class="impl">
+
+  <div class="note">
+
+   <p><a href="#remove-an-element-from-a-document" title="remove an element from a document">Removing</a>
+   an <code><a href="#the-iframe-element">iframe</a></code> from a <code><a href="#document">Document</a></code> does not cause
+   its <a href="#browsing-context">browsing context</a> to be discarded. Indeed, an
+   <code><a href="#the-iframe-element">iframe</a></code>'s span&gt;browsing context can survive its
+   original parent <code><a href="#document">Document</a></code> if its <code><a href="#the-iframe-element">iframe</a></code> is
+   moved to another <code><a href="#document">Document</a></code>.</p>
+
+   <p>On the other hand, if an <code><a href="#the-iframe-element">iframe</a></code> is <span class="note"><a href="#remove-an-element-from-a-document" title="remove an element from a
+   document">removed</a> from a <code><a href="#document">Document</a></code> and is then
+   subsequently garbage collected, this will likely mean (in the
+   absence of other references) that the <a href="#child-browsing-context">child browsing
+   context</a>'s <code><a href="#windowproxy">WindowProxy</a></code> object will become
+   eligble for garbage collection, which will then lead to that
+   <a href="#browsing-context">browsing context</a> being <a href="#a-browsing-context-is-discarded" title="a browsing context
+   is discarded">discarded</a>, which will then lead to its
+   <code><a href="#document">Document</a></code> being <a href="#discard-a-document" title="discard a
+   document">discarded</a> also. This happens without notice to any
+   scripts running in that <code><a href="#document">Document</a></code>; for example, no
+   <code title="event-unload">unload</code> events are fired (the
+   "<a href="#unload-a-document">unload a document</a>" steps are not run).</span></p>
+
+  </div>
+
+  </div><div class="example">
 
    <p>Here a blog uses the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute in conjunction
    with the <code title="attr-iframe-sandbox"><a href="#attr-iframe-sandbox">sandbox</a></code> and <code title="attr-iframe-seamless"><a href="#attr-iframe-seamless">seamless</a></code> attributes described
@@ -67887,6 +67914,7 @@
   Dimitry Golubovsky,
   Dirk Pranke,
   Divya Manian,
+  Dmitry Titov,
   dolphinling,
   Dominique Haza&euml;l-Massieux,
   Don Brutzman,
Received on Friday, 30 July 2010 00:08:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 30 July 2010 00:08:29 GMT