[html5] r7389 - [giow] (3) Fix <embed>'s algorithm, since I apparently wrote this backwards. Fix [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 20 23:15:40 PDT 2012


Author: ianh
Date: 2012-09-20 23:15:39 -0700 (Thu, 20 Sep 2012)
New Revision: 7389

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Fix <embed>'s algorithm, since I apparently wrote this backwards.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17021
Affected topics: Canvas, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-09-20 23:54:10 UTC (rev 7388)
+++ complete.html	2012-09-21 06:15:39 UTC (rev 7389)
@@ -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 — Last Updated 20 September 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — 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 @@
   <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,9 +40178,8 @@
   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>
 
    <p>This <code><a href=#the-canvas-element>canvas</a></code> element has a couple of checkboxes. The

Modified: index
===================================================================
--- index	2012-09-20 23:54:10 UTC (rev 7388)
+++ index	2012-09-21 06:15:39 UTC (rev 7389)
@@ -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 — Last Updated 20 September 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — 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 @@
   <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,9 +40178,8 @@
   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>
 
    <p>This <code><a href=#the-canvas-element>canvas</a></code> element has a couple of checkboxes. The

Modified: source
===================================================================
--- source	2012-09-20 23:54:10 UTC (rev 7388)
+++ source	2012-09-21 06:15:39 UTC (rev 7389)
@@ -29357,7 +29357,7 @@
    <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 @@
   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,9 +46836,10 @@
   to be inside the path. If either of the arguments is infinite or
   NaN, then the method must return false.</p>
 
+  <hr>
+
   </div>
 
-
   <div class="example" id="drawCustomFocusRingExample">
 
    <p>This <code>canvas</code> element has a couple of checkboxes. The




More information about the Commit-Watchers mailing list