Skip to content
Permalink
Browse files
[giow] (3) Make <embed> fire load events. (This is not complete. See …
…bug 24214 for more that needs doing here.)

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8378 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2014
1 parent 92e67b5 commit 10b0d689614de841e25807af1c74a194c160ba61
Showing with 30 additions and 0 deletions.
  1. +10 −0 complete.html
  2. +10 −0 index
  3. +10 −0 source
@@ -23608,6 +23608,10 @@ <h4 id=the-embed-element><span class=secno>4.7.3 </span>The <dfn><code>embed</co

</li>

<li><p>Once the resource or plugin hass completely loaded, <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
element.</li>

</ol><p>Whether the resource is fetched successfully or not (e.g. whether the response code was a
2xx code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or equivalent</a>) must be ignored
when determining the <a href=#concept-embed-type title=concept-embed-type>content's type</a> and when handing
@@ -23634,6 +23638,9 @@ <h4 id=the-embed-element><span class=secno>4.7.3 </span>The <dfn><code>embed</co
value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute. The <code><a href=#the-embed-element>embed</a></code>
element now represents this <a href=#plugin>plugin</a> instance.</p>

<p>Once the plugin is completely loaded, <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 element.</p>

</dd>

</dl></li>
@@ -23661,6 +23668,9 @@ <h4 id=the-embed-element><span class=secno>4.7.3 </span>The <dfn><code>embed</co
agents should convey the danger of overriding the sandbox to the user if an option to do so is
provided.</p>

<p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> mentioned in this
section is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>

</div>

<p>Any namespace-less attribute other than <code title=attr-embed-name><a href=#attr-embed-name>name</a></code>, <code title=attr-embed-align><a href=#attr-embed-align>align</a></code>, <code title=attr-embed-hspace><a href=#attr-embed-hspace>hspace</a></code>, and <code title=attr-embed-vspace><a href=#attr-embed-vspace>vspace</a></code> <!-- when editing, see also note below --> may be
10 index
@@ -23608,6 +23608,10 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>

</li>

<li><p>Once the resource or plugin hass completely loaded, <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
element.</li>

</ol><p>Whether the resource is fetched successfully or not (e.g. whether the response code was a
2xx code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or equivalent</a>) must be ignored
when determining the <a href=#concept-embed-type title=concept-embed-type>content's type</a> and when handing
@@ -23634,6 +23638,9 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute. The <code><a href=#the-embed-element>embed</a></code>
element now represents this <a href=#plugin>plugin</a> instance.</p>

<p>Once the plugin is completely loaded, <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 element.</p>

</dd>

</dl></li>
@@ -23661,6 +23668,9 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
agents should convey the danger of overriding the sandbox to the user if an option to do so is
provided.</p>

<p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> mentioned in this
section is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>

</div>

<p>Any namespace-less attribute other than <code title=attr-embed-name><a href=#attr-embed-name>name</a></code>, <code title=attr-embed-align><a href=#attr-embed-align>align</a></code>, <code title=attr-embed-hspace><a href=#attr-embed-hspace>hspace</a></code>, and <code title=attr-embed-vspace><a href=#attr-embed-vspace>vspace</a></code> <!-- when editing, see also note below --> may be
10 source
@@ -24915,6 +24915,10 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>

</li>

<li><p>Once the resource or plugin hass completely loaded, <span>queue a task</span> to
<span>fire a simple event</span> named <code data-x="event-load">load</code> at the
element.</p></li>

</ol>

<p>Whether the resource is fetched successfully or not (e.g. whether the response code was a
@@ -24943,6 +24947,9 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
value of the <code data-x="attr-embed-type">type</code> attribute. The <code>embed</code>
element now represents this <span>plugin</span> instance.</p>

<p>Once the plugin is completely loaded, <span>queue a task</span> to <span>fire a simple
event</span> named <code data-x="event-load">load</code> at the element.</p>

</dd>

</dl>
@@ -24975,6 +24982,9 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
agents should convey the danger of overriding the sandbox to the user if an option to do so is
provided.</p>

<p>The <span>task source</span> for the <span data-x="concept-task">tasks</span> mentioned in this
section is the <span>DOM manipulation task source</span>.</p>

</div>

<p>Any namespace-less attribute other than <code data-x="attr-embed-name">name</code>, <code

0 comments on commit 10b0d68

Please sign in to comment.