Skip to content

Commit

Permalink
[giow] (2) Make blank <object>s with browsing contexts fire 'load' ev…
Browse files Browse the repository at this point in the history
…ents when the browing context is created.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8837

git-svn-id: http://svn.whatwg.org/webapps@4773 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 18, 2010
1 parent d6d6dd8 commit 685fc28
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
12 changes: 10 additions & 2 deletions complete.html
Expand Up @@ -21146,8 +21146,10 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
<dd>

<p>The <code><a href=#the-object-element>object</a></code> element must be associated with a
<a href=#nested-browsing-context>nested browsing context</a>, if it does not already
have one. If the <a href=#url>URL</a> of the given resource is not
newly created <a href=#nested-browsing-context>nested browsing context</a>, if it does
not already have one.</p>

<p>If the <a href=#url>URL</a> of the given resource is not
<code><a href=#about:blank>about:blank</a></code>, the element's <a href=#nested-browsing-context>nested browsing
context</a> must then be <a href=#navigate title=navigate>navigated</a> to that resource, with
<a href=#replacement-enabled>replacement enabled</a>, and with the
Expand All @@ -21158,6 +21160,12 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
browsing context gets further navigated to other
locations.)</p>

<p>If the <a href=#url>URL</a> of the given resource <em>is</em>
<code><a href=#about:blank>about:blank</a></code>, then, instead, the user agent must
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <code title=event-load>load</code> at the
<code><a href=#the-object-element>object</a></code> element.</p>

<p>The <code><a href=#the-object-element>object</a></code> element <a href=#represents>represents</a> the
<a href=#nested-browsing-context>nested browsing context</a>.</p>

Expand Down
12 changes: 10 additions & 2 deletions index
Expand Up @@ -21048,8 +21048,10 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<dd>

<p>The <code><a href=#the-object-element>object</a></code> element must be associated with a
<a href=#nested-browsing-context>nested browsing context</a>, if it does not already
have one. If the <a href=#url>URL</a> of the given resource is not
newly created <a href=#nested-browsing-context>nested browsing context</a>, if it does
not already have one.</p>

<p>If the <a href=#url>URL</a> of the given resource is not
<code><a href=#about:blank>about:blank</a></code>, the element's <a href=#nested-browsing-context>nested browsing
context</a> must then be <a href=#navigate title=navigate>navigated</a> to that resource, with
<a href=#replacement-enabled>replacement enabled</a>, and with the
Expand All @@ -21060,6 +21062,12 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
browsing context gets further navigated to other
locations.)</p>

<p>If the <a href=#url>URL</a> of the given resource <em>is</em>
<code><a href=#about:blank>about:blank</a></code>, then, instead, the user agent must
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
named <code title=event-load>load</code> at the
<code><a href=#the-object-element>object</a></code> element.</p>

<p>The <code><a href=#the-object-element>object</a></code> element <a href=#represents>represents</a> the
<a href=#nested-browsing-context>nested browsing context</a>.</p>

Expand Down
12 changes: 10 additions & 2 deletions source
Expand Up @@ -22549,8 +22549,10 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<dd>

<p>The <code>object</code> element must be associated with a
<span>nested browsing context</span>, if it does not already
have one. If the <span>URL</span> of the given resource is not
newly created <span>nested browsing context</span>, if it does
not already have one.</p>

<p>If the <span>URL</span> of the given resource is not
<code>about:blank</code>, the element's <span>nested browsing
context</span> must then be <span
title="navigate">navigated</span> to that resource, with
Expand All @@ -22563,6 +22565,12 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
browsing context gets further navigated to other
locations.)</p>

<p>If the <span>URL</span> of the given resource <em>is</em>
<code>about:blank</code>, then, instead, the user agent must
<span>queue a task</span> to <span>fire a simple event</span>
named <code title="event-load">load</code> at the
<code>object</code> element.</p>

<p>The <code>object</code> element <span>represents</span> the
<span>nested browsing context</span>.</p>

Expand Down

0 comments on commit 685fc28

Please sign in to comment.