Skip to content

Commit

Permalink
[giow] (3) Better match reality, however weird it is.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17005
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7703 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 7, 2013
1 parent 7c9df86 commit e7197ee
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 12 deletions.
17 changes: 12 additions & 5 deletions complete.html
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 February 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 February 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -25236,13 +25236,18 @@ <h4 id=the-embed-element><span class=secno>4.8.3 </span>The <dfn><code>embed</co
<li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
<li>The element is not a descendant of an <code><a href=#the-object-element>object</a></code> element that is not showing its <a href=#fallback-content>fallback content</a>.</li>
<li>The element is <a href=#being-rendered>being rendered</a>, or was <a href=#being-rendered>being rendered</a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
</ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
</ul><!--CLEANUP--><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
<code><a href=#the-embed-element>embed</a></code> element that is remaining <a href=#concept-embed-active title=concept-embed-active>potentially active</a> and has its
<code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute set, changed, or
removed or its <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute
set, changed, or removed, the appropriate set of steps from the
following list applies:</p>
set, changed, or removed, the user agent must <a href=#queue-a-task>queue a task</a>
using the <dfn id=embed-task-source>embed task source</dfn> to run the following steps:</p>

<ol><li><p>If another <a href=#concept-task title=concept-task>task</a> has since been queued to run these steps
for this element, then abort these steps.</li>

<li>

<dl class=switch><dt>If the element has a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code>
attribute set</dt>
Expand Down Expand Up @@ -25283,7 +25288,9 @@ <h4 id=the-embed-element><span class=secno>4.8.3 </span>The <dfn><code>embed</co
<dd><p>The user agent should find and instantiate an appropriate <a href=#plugin>plugin</a> based on the
value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute.</p>

</dl><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was <a href=#concept-embed-active title=concept-embed-active>potentially
</dl></li>

</ol><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was <a href=#concept-embed-active title=concept-embed-active>potentially
active</a> stops being <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, any
<a href=#plugin>plugin</a> that had been instantiated for that element must be unloaded.</p>

Expand Down
17 changes: 12 additions & 5 deletions index
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 February 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 February 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -25236,13 +25236,18 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<li>The element is not a descendant of a <a href=#media-element>media element</a>.</li>
<li>The element is not a descendant of an <code><a href=#the-object-element>object</a></code> element that is not showing its <a href=#fallback-content>fallback content</a>.</li>
<li>The element is <a href=#being-rendered>being rendered</a>, or was <a href=#being-rendered>being rendered</a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
</ul><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
</ul><!--CLEANUP--><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was not <a href=#concept-embed-active title=concept-embed-active>potentially active</a> becomes <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, and whenever
a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
<code><a href=#the-embed-element>embed</a></code> element that is remaining <a href=#concept-embed-active title=concept-embed-active>potentially active</a> and has its
<code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute set, changed, or
removed or its <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute
set, changed, or removed, the appropriate set of steps from the
following list applies:</p>
set, changed, or removed, the user agent must <a href=#queue-a-task>queue a task</a>
using the <dfn id=embed-task-source>embed task source</dfn> to run the following steps:</p>

<ol><li><p>If another <a href=#concept-task title=concept-task>task</a> has since been queued to run these steps
for this element, then abort these steps.</li>

<li>

<dl class=switch><dt>If the element has a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code>
attribute set</dt>
Expand Down Expand Up @@ -25283,7 +25288,9 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<dd><p>The user agent should find and instantiate an appropriate <a href=#plugin>plugin</a> based on the
value of the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute.</p>

</dl><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was <a href=#concept-embed-active title=concept-embed-active>potentially
</dl></li>

</ol><p>Whenever an <code><a href=#the-embed-element>embed</a></code> element that was <a href=#concept-embed-active title=concept-embed-active>potentially
active</a> stops being <a href=#concept-embed-active title=concept-embed-active>potentially active</a>, any
<a href=#plugin>plugin</a> that had been instantiated for that element must be unloaded.</p>

Expand Down
16 changes: 14 additions & 2 deletions source
Expand Up @@ -26851,6 +26851,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<li>The element is <span>being rendered</span>, or was <span>being rendered</span> the last time the <span>event loop</span> reached step 1.</li>
</ul>

<!--CLEANUP-->
<p>Whenever an <code>embed</code> element that was not <span
title="concept-embed-active">potentially active</span> becomes <span
title="concept-embed-active">potentially active</span>, and whenever
Expand All @@ -26859,8 +26860,15 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
title="concept-embed-active">potentially active</span> and has its
<code title="attr-embed-type">src</code> attribute set, changed, or
removed or its <code title="attr-embed-type">type</code> attribute
set, changed, or removed, the appropriate set of steps from the
following list applies:</p>
set, changed, or removed, the user agent must <span>queue a task</span>
using the <dfn>embed task source</dfn> to run the following steps:</p>

<ol>

<li><p>If another <span title="concept-task">task</span> has since been queued to run these steps
for this element, then abort these steps.</p></li>

<li>

<dl class="switch">

Expand Down Expand Up @@ -26906,6 +26914,10 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>

</dl>

</li>

</ol>

<p>Whenever an <code>embed</code> element that was <span title="concept-embed-active">potentially
active</span> stops being <span title="concept-embed-active">potentially active</span>, any
<span>plugin</span> that had been instantiated for that element must be unloaded.</p>
Expand Down

0 comments on commit e7197ee

Please sign in to comment.