Browse files

[giow] (3) Fix <embed>'s algorithm, since I apparently wrote this bac…

…kwards.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17021
Affected topics: Canvas, HTML

git-svn-id: http://svn.whatwg.org/webapps@7389 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 4202624 commit 69e1fc0c5a2138182c4c4e37d4ebd5937d9e342c @Hixie Hixie committed Sep 21, 2012
Showing with 25 additions and 28 deletions.
  1. +8 −9 complete.html
  2. +8 −9 index
  3. +9 −10 source
View
17 complete.html
@@ -246,7 +246,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 20 September 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 September 2012</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>
@@ -27217,17 +27217,17 @@ <h4 id=the-embed-element><span class=secno>4.8.3 </span>The <dfn><code>embed</co
<ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a> or was <a href=#in-a-document title="in a document">in a <code>Document</code></a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
<li>The element's <code><a href=#document>Document</a></code> is <a href=#fully-active>fully active</a>.</li>
<li>The element has either a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute set or a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set (or both).</li>
- <li>The element's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is the empty string.</li>
+ <li>The element's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is not the empty string.</li>
<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
a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
- <code><a href=#the-embed-element>embed</a></code> element's <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute is set, changed, or
- removed, 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's <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is set, changed, or
- removed, the appropriate set of steps from the following is then
- applied:</p>
+ <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>
<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>
@@ -40178,8 +40178,7 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.12 </span>Drawing
to be inside the path. If either of the arguments is infinite or
NaN, then the method must return false.</p>
- </div>
-
+ <hr></div>
<div class=example id=drawCustomFocusRingExample>
View
17 index
@@ -246,7 +246,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 20 September 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 September 2012</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>
@@ -27217,17 +27217,17 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<ul class=brief><li>The element is <a href=#in-a-document title="in a document">in a <code>Document</code></a> or was <a href=#in-a-document title="in a document">in a <code>Document</code></a> the last time the <a href=#event-loop>event loop</a> reached step 1.</li>
<li>The element's <code><a href=#document>Document</a></code> is <a href=#fully-active>fully active</a>.</li>
<li>The element has either a <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute set or a <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute set (or both).</li>
- <li>The element's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is the empty string.</li>
+ <li>The element's <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute is either absent or its value is not the empty string.</li>
<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
a <a href=#concept-embed-active title=concept-embed-active>potentially active</a>
- <code><a href=#the-embed-element>embed</a></code> element's <code title=attr-embed-type><a href=#attr-embed-type>src</a></code> attribute is set, changed, or
- removed, 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's <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute is set, changed, or
- removed, the appropriate set of steps from the following is then
- applied:</p>
+ <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>
<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>
@@ -40178,8 +40178,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
to be inside the path. If either of the arguments is infinite or
NaN, then the method must return false.</p>
- </div>
-
+ <hr></div>
<div class=example id=drawCustomFocusRingExample>
View
19 source
@@ -29357,7 +29357,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<li>The element is <span title="in a document">in a <code>Document</code></span> or was <span title="in a document">in a <code>Document</code></span> the last time the <span>event loop</span> reached step 1.</li>
<li>The element's <code>Document</code> is <span>fully active</span>.</li>
<li>The element has either a <code title="attr-embed-src">src</code> attribute set or a <code title="attr-embed-type">type</code> attribute set (or both).</li>
- <li>The element's <code title="attr-embed-src">src</code> attribute is either absent or its value is the empty string.</li>
+ <li>The element's <code title="attr-embed-src">src</code> attribute is either absent or its value is not the empty string.</li>
<li>The element is not a descendant of a <span>media element</span>.</li>
<li>The element is not a descendant of an <code>object</code> element that is not showing its <span>fallback content</span>.</li>
<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>
@@ -29367,14 +29367,12 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
title="concept-embed-active">potentially active</span> becomes <span
title="concept-embed-active">potentially active</span>, and whenever
a <span title="concept-embed-active">potentially active</span>
- <code>embed</code> element's <code
- title="attr-embed-type">src</code> attribute is set, changed, or
- removed, and whenever a <span
- title="concept-embed-active">potentially active</span>
- <code>embed</code> element's <code
- title="attr-embed-type">type</code> attribute is set, changed, or
- removed, the appropriate set of steps from the following is then
- applied:</p>
+ <code>embed</code> element that is remaining <span
+ 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>
<dl class="switch">
@@ -46838,8 +46836,9 @@ v6DVT (also check for '- -' bits in the part above) -->
to be inside the path. If either of the arguments is infinite or
NaN, then the method must return false.</p>
- </div>
+ <hr>
+ </div>
<div class="example" id="drawCustomFocusRingExample">

0 comments on commit 69e1fc0

Please sign in to comment.