HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7389

File a bug

SVNBugCommentTime (UTC)
738917021[Gecko] [Internet Explorer] [Opera] [Webkit] Fix <embed>'s algorithm, since I apparently wrote this backwards.2012-09-21 06:15
Index: source
===================================================================
--- source	(revision 7388)
+++ source	(revision 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

|