Skip to content

Commit

Permalink
[e] (0) The text as written before didn't really make any sense.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18604
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7487 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 29, 2012
1 parent 78e1958 commit 772e3d0
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 60 deletions.
57 changes: 32 additions & 25 deletions complete.html
Expand Up @@ -26741,11 +26741,11 @@ <h4 id=the-iframe-element><span class=secno>4.8.2 </span>The <dfn><code>iframe</
<p class=note>A <code title=event-load>load</code> event is also fired at the
<code><a href=#the-iframe-element>iframe</a></code> element when it is created if no other data is loaded in it.</p>

<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#active-document>active document</a> is not <a href=#ready-for-post-load-tasks>ready for post-load
tasks</a>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load
event">delaying the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>, the <code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of
its document.</p>
<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a> is
not <a href=#ready-for-post-load-tasks>ready for post-load tasks</a>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s
<a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, and when the <code><a href=#the-iframe-element>iframe</a></code>'s
<a href=#browsing-context>browsing context</a> is in the <a href=#delaying-load-events-mode>delaying <code title=event-load>load</code> events
mode</a>, the <code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>

<p class=note>If, during the handling of the <code title=event-load>load</code> event, the
<a href=#browsing-context>browsing context</a> in the <code><a href=#the-iframe-element>iframe</a></code> is again <a href=#navigate title=navigate>navigated</a>, that will further <a href=#delay-the-load-event>delay the load event</a>.</p>
Expand Down Expand Up @@ -67348,21 +67348,27 @@ <h4 id=nested-browsing-contexts><span class=secno>6.1.1 </span>Nested browsing c
browsing context flag</a> set, if it is embedded through an
<code><a href=#the-iframe-element>iframe</a></code> element with a <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> attribute.</p>

<p class=note>A <a href=#nested-browsing-context>nested browsing context</a> can in some
cases be taken out of its <a href=#parent-browsing-context>parent browsing context</a> (e.g.
if an <code><a href=#the-iframe-element>iframe</a></code> element is removed from its
<code><a href=#document>Document</a></code>). In such a situation, the <a href=#nested-browsing-context>nested
browsing context</a> has no <a href=#parent-browsing-context>parent browsing context</a>,
but it still has the same <a href=#browsing-context-container>browsing context container</a>
and is still <a href=#browsing-context-nested-through title="browsing context nested through">nested
through</a> that element's <code><a href=#document>Document</a></code>. Such a
<a href=#nested-browsing-context>nested browsing context</a> is <em>not</em> a
<a href=#top-level-browsing-context>top-level browsing context</a>, and cannot contain
<code><a href=#document>Document</a></code>s that are <a href=#fully-active>fully active</a>.
Furthermore, if a <a href=#browsing-context-container>browsing context container</a> (such as
an <code><a href=#the-iframe-element>iframe</a></code>) is moved to another <code><a href=#document>Document</a></code>,
then the <a href=#parent-browsing-context>parent browsing context</a> of its <a href=#nested-browsing-context>nested
browsing context</a> will change.</p>
<p>A <a href=#nested-browsing-context>nested browsing context</a> can be put into a <dfn id=delaying-load-events-mode>delaying <code title=event-load>load</code> events mode</dfn>. This is used when it is <a href=#navigate title=navigate>navigated</a>, to <a href=#delay-the-load-event>delay the load event</a> of the <a href=#browsing-context-container>browsing
context container</a> <code><a href=#the-iframe-element>iframe</a></code> element before the new <code><a href=#document>Document</a></code> is
created.</p>

<!--(There's no current way for this to happen, since removing an iframe from a document discards its browsing context)
<p class="note">A <span>nested browsing context</span> can in some
cases be taken out of its <span>parent browsing context</span> (e.g.
if an <code>iframe</code> element is removed from its
<code>Document</code>). In such a situation, the <span>nested
browsing context</span> has no <span>parent browsing context</span>,
but it still has the same <span>browsing context container</span>
and is still <span title="browsing context nested through">nested
through</span> that element's <code>Document</code>. Such a
<span>nested browsing context</span> is <em>not</em> a
<span>top-level browsing context</span>, and cannot contain
<code>Document</code>s that are <span>fully active</span>.
Furthermore, if a <span>browsing context container</span> (such as
an <code>iframe</code>) is moved to another <code>Document</code>,
then the <span>parent browsing context</span> of its <span>nested
browsing context</span> will change.</p>
-->

<p>The <dfn id=document-family>document family</dfn> of a <a href=#browsing-context>browsing context</a>
consists of the union of all the <code><a href=#document>Document</a></code> objects in
Expand Down Expand Up @@ -70641,11 +70647,12 @@ <h4 id=navigating-across-documents><span class=secno>6.6.1 </span>Navigating acr
origin</a>, if it has one.</p> <!-- potentially http-origin
privacy sensitive -->

<p>The <a href=#fetch>fetch</a> algorithm must <a href=#delay-the-load-event>delay the load
event</a> of the <a href=#browsing-context>browsing context</a>.</p> <!-- this
is what makes <iframe> elements delay the load event of their
parent browsing context when their child browsing context is in
between this step and the step that starts the parser. -->
<p>If the <a href=#browsing-context>browsing context</a> is a <a href=#nested-browsing-context>nested browsing context</a>, then in the
time between the <a href=#fetch>fetch</a> algorithm being started by this step, and either the
creation of a <code><a href=#document>Document</a></code> object or the canceling of the <a href=#fetch>fetch</a> or <a href=#navigate title=navigate>navigation</a> algorithms, the <a href=#browsing-context>browsing context</a> must be put in
the <a href=#delaying-load-events-mode>delaying <code title=event-load>load</code> events mode</a>.</p> <!-- this is
what makes <iframe> elements delay the load event of their parent browsing context when their
child browsing context is in between this step and the step that starts the parser. -->

</li>

Expand Down
57 changes: 32 additions & 25 deletions index
Expand Up @@ -26741,11 +26741,11 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<p class=note>A <code title=event-load>load</code> event is also fired at the
<code><a href=#the-iframe-element>iframe</a></code> element when it is created if no other data is loaded in it.</p>

<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#active-document>active document</a> is not <a href=#ready-for-post-load-tasks>ready for post-load
tasks</a>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load
event">delaying the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>, the <code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of
its document.</p>
<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a> is
not <a href=#ready-for-post-load-tasks>ready for post-load tasks</a>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s
<a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, and when the <code><a href=#the-iframe-element>iframe</a></code>'s
<a href=#browsing-context>browsing context</a> is in the <a href=#delaying-load-events-mode>delaying <code title=event-load>load</code> events
mode</a>, the <code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>

<p class=note>If, during the handling of the <code title=event-load>load</code> event, the
<a href=#browsing-context>browsing context</a> in the <code><a href=#the-iframe-element>iframe</a></code> is again <a href=#navigate title=navigate>navigated</a>, that will further <a href=#delay-the-load-event>delay the load event</a>.</p>
Expand Down Expand Up @@ -67348,21 +67348,27 @@ END:VCARD</pre>
browsing context flag</a> set, if it is embedded through an
<code><a href=#the-iframe-element>iframe</a></code> element with a <code title=attr-iframe-seamless><a href=#attr-iframe-seamless>seamless</a></code> attribute.</p>

<p class=note>A <a href=#nested-browsing-context>nested browsing context</a> can in some
cases be taken out of its <a href=#parent-browsing-context>parent browsing context</a> (e.g.
if an <code><a href=#the-iframe-element>iframe</a></code> element is removed from its
<code><a href=#document>Document</a></code>). In such a situation, the <a href=#nested-browsing-context>nested
browsing context</a> has no <a href=#parent-browsing-context>parent browsing context</a>,
but it still has the same <a href=#browsing-context-container>browsing context container</a>
and is still <a href=#browsing-context-nested-through title="browsing context nested through">nested
through</a> that element's <code><a href=#document>Document</a></code>. Such a
<a href=#nested-browsing-context>nested browsing context</a> is <em>not</em> a
<a href=#top-level-browsing-context>top-level browsing context</a>, and cannot contain
<code><a href=#document>Document</a></code>s that are <a href=#fully-active>fully active</a>.
Furthermore, if a <a href=#browsing-context-container>browsing context container</a> (such as
an <code><a href=#the-iframe-element>iframe</a></code>) is moved to another <code><a href=#document>Document</a></code>,
then the <a href=#parent-browsing-context>parent browsing context</a> of its <a href=#nested-browsing-context>nested
browsing context</a> will change.</p>
<p>A <a href=#nested-browsing-context>nested browsing context</a> can be put into a <dfn id=delaying-load-events-mode>delaying <code title=event-load>load</code> events mode</dfn>. This is used when it is <a href=#navigate title=navigate>navigated</a>, to <a href=#delay-the-load-event>delay the load event</a> of the <a href=#browsing-context-container>browsing
context container</a> <code><a href=#the-iframe-element>iframe</a></code> element before the new <code><a href=#document>Document</a></code> is
created.</p>

<!--(There's no current way for this to happen, since removing an iframe from a document discards its browsing context)
<p class="note">A <span>nested browsing context</span> can in some
cases be taken out of its <span>parent browsing context</span> (e.g.
if an <code>iframe</code> element is removed from its
<code>Document</code>). In such a situation, the <span>nested
browsing context</span> has no <span>parent browsing context</span>,
but it still has the same <span>browsing context container</span>
and is still <span title="browsing context nested through">nested
through</span> that element's <code>Document</code>. Such a
<span>nested browsing context</span> is <em>not</em> a
<span>top-level browsing context</span>, and cannot contain
<code>Document</code>s that are <span>fully active</span>.
Furthermore, if a <span>browsing context container</span> (such as
an <code>iframe</code>) is moved to another <code>Document</code>,
then the <span>parent browsing context</span> of its <span>nested
browsing context</span> will change.</p>
-->

<p>The <dfn id=document-family>document family</dfn> of a <a href=#browsing-context>browsing context</a>
consists of the union of all the <code><a href=#document>Document</a></code> objects in
Expand Down Expand Up @@ -70641,11 +70647,12 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU
origin</a>, if it has one.</p> <!-- potentially http-origin
privacy sensitive -->

<p>The <a href=#fetch>fetch</a> algorithm must <a href=#delay-the-load-event>delay the load
event</a> of the <a href=#browsing-context>browsing context</a>.</p> <!-- this
is what makes <iframe> elements delay the load event of their
parent browsing context when their child browsing context is in
between this step and the step that starts the parser. -->
<p>If the <a href=#browsing-context>browsing context</a> is a <a href=#nested-browsing-context>nested browsing context</a>, then in the
time between the <a href=#fetch>fetch</a> algorithm being started by this step, and either the
creation of a <code><a href=#document>Document</a></code> object or the canceling of the <a href=#fetch>fetch</a> or <a href=#navigate title=navigate>navigation</a> algorithms, the <a href=#browsing-context>browsing context</a> must be put in
the <a href=#delaying-load-events-mode>delaying <code title=event-load>load</code> events mode</a>.</p> <!-- this is
what makes <iframe> elements delay the load event of their parent browsing context when their
child browsing context is in between this step and the step that starts the parser. -->

</li>

Expand Down
31 changes: 21 additions & 10 deletions source
Expand Up @@ -28834,11 +28834,12 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<p class="note">A <code title="event-load">load</code> event is also fired at the
<code>iframe</code> element when it is created if no other data is loaded in it.</p>

<p>When the <code>iframe</code>'s <span>active document</span> is not <span>ready for post-load
tasks</span>, and when anything in the <code>iframe</code> is <span title="delay the load
event">delaying the load event</span> of the <code>iframe</code>'s <span>browsing context</span>'s
<span>active document</span>, the <code>iframe</code> must <span>delay the load event</span> of
its document.</p>
<p>When the <code>iframe</code>'s <span>browsing context</span>'s <span>active document</span> is
not <span>ready for post-load tasks</span>, and when anything in the <code>iframe</code> is <span
title="delay the load event">delaying the load event</span> of the <code>iframe</code>'s
<span>browsing context</span>'s <span>active document</span>, and when the <code>iframe</code>'s
<span>browsing context</span> is in the <span>delaying <code title="event-load">load</code> events
mode</span>, the <code>iframe</code> must <span>delay the load event</span> of its document.</p>

<p class="note">If, during the handling of the <code title="event-load">load</code> event, the
<span>browsing context</span> in the <code>iframe</code> is again <span
Expand Down Expand Up @@ -78923,6 +78924,13 @@ END:VCARD</pre>
<code>iframe</code> element with a <code
title="attr-iframe-seamless">seamless</code> attribute.</p>

<p>A <span>nested browsing context</span> can be put into a <dfn>delaying <code
title="event-load">load</code> events mode</dfn>. This is used when it is <span
title="navigate">navigated</span>, to <span>delay the load event</span> of the <span>browsing
context container</span> <code>iframe</code> element before the new <code>Document</code> is
created.</p>

<!--(There's no current way for this to happen, since removing an iframe from a document discards its browsing context)
<p class="note">A <span>nested browsing context</span> can in some
cases be taken out of its <span>parent browsing context</span> (e.g.
if an <code>iframe</code> element is removed from its
Expand All @@ -78938,6 +78946,7 @@ END:VCARD</pre>
an <code>iframe</code>) is moved to another <code>Document</code>,
then the <span>parent browsing context</span> of its <span>nested
browsing context</span> will change.</p>
-->

<p>The <dfn>document family</dfn> of a <span>browsing context</span>
consists of the union of all the <code>Document</code> objects in
Expand Down Expand Up @@ -82681,11 +82690,13 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O
origin</span>, if it has one.</p> <!-- potentially http-origin
privacy sensitive -->

<p>The <span>fetch</span> algorithm must <span>delay the load
event</span> of the <span>browsing context</span>.</p> <!-- this
is what makes <iframe> elements delay the load event of their
parent browsing context when their child browsing context is in
between this step and the step that starts the parser. -->
<p>If the <span>browsing context</span> is a <span>nested browsing context</span>, then in the
time between the <span>fetch</span> algorithm being started by this step, and either the
creation of a <code>Document</code> object or the canceling of the <span>fetch</span> or <span
title="navigate">navigation</span> algorithms, the <span>browsing context</span> must be put in
the <span>delaying <code title="event-load">load</code> events mode</span>.</p> <!-- this is
what makes <iframe> elements delay the load event of their parent browsing context when their
child browsing context is in between this step and the step that starts the parser. -->

</li>

Expand Down

0 comments on commit 772e3d0

Please sign in to comment.