- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 22 Jun 2012 20:54:45 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv22582
Modified Files:
Overview.html
Log Message:
Remove the 'magic iframe' feature. (whatwg r7139)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5690
retrieving revision 1.5691
diff -u -d -r1.5690 -r1.5691
--- Overview.html 15 Jun 2012 22:31:16 -0000 1.5690
+++ Overview.html 22 Jun 2012 20:54:24 -0000 1.5691
@@ -321,7 +321,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-15-june-2012">Editor's Draft 15 June 2012</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-22-june-2012">Editor's Draft 22 June 2012</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>
@@ -514,7 +514,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 15 June 2012 Editor's Draft.
+ This specification is the 22 June 2012 Editor's Draft.
</p>
@@ -23875,12 +23875,21 @@
<div class="impl">
- <p>When an <code><a href="#the-iframe-element">iframe</a></code> element is first <a href="#insert-an-element-into-a-document" title="insert
- an element into a document">inserted into a document</a>, the
- user agent must create a <a href="#nested-browsing-context">nested browsing context</a>, and
- then <a href="#process-the-iframe-attributes">process the <code>iframe</code> attributes</a> for the
+ <p>When an <code><a href="#the-iframe-element">iframe</a></code> element is <a href="#insert-an-element-into-a-document" title="insert an
+ element into a document">inserted into a document</a>, the user
+ agent must create a <a href="#nested-browsing-context">nested browsing context</a>, and then
+ <a href="#process-the-iframe-attributes">process the <code>iframe</code> attributes</a> for the
first time.</p>
+ <p>When an <code><a href="#the-iframe-element">iframe</a></code> element is <a href="#remove-an-element-from-a-document" title="remove an
+ element from a document">removed from a document</a>, the user
+ agent must <a href="#a-browsing-context-is-discarded" title="a browsing context is
+ discarded">discard</a> the <a href="#nested-browsing-context">nested browsing
+ context</a>.</p>
+
+ <p class="note">This happens without any <code title="event-unload">unload</code> events firing (the <a href="#nested-browsing-context">nested
+ browsing context</a> and its <code><a href="#document">Document</a></code> are <em title="a browsing context is discarded">discarded</em>, not <em title="unload a document">unloaded</em>).</p>
+
<p>Whenever an <code><a href="#the-iframe-element">iframe</a></code> element with a <a href="#nested-browsing-context">nested
browsing context</a> has its <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute set, changed, or
removed, the user agent must <a href="#process-the-iframe-attributes">process the <code>iframe</code>
@@ -23984,34 +23993,6 @@
<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.</p>
- <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 <a href="#browsing-context">browsing context</a> 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 <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).</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
Received on Friday, 22 June 2012 20:54:48 UTC