HTML Standard Tracker

Filter

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
@@ -29350,38 +29350,36 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
   removed, and the <code>embed</code> element represents nothing.</p>
 
   <p>An <code>embed</code> element is said to be <dfn
   title="concept-embed-active">potentially active</dfn> when the
   following conditions are all met simultaneously:</p>
 
   <ul class="brief">
    <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>
   </ul>
 
   <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
   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">
 
    <dt>If the element has a <code title="attr-embed-src">src</code>
    attribute set</dt>
 
    <dd>
 
     <p>The user agent must <span title="resolve a url">resolve</span>
     the value of the element's <code title="attr-embed-src">src</code>
@@ -46831,22 +46829,23 @@ v6DVT (also check for '- -' bits in the part above) -->
   title="dom-context-2d-isPointInPath"><code>isPointInPath()</code></dfn>
   method must return true if the point given by the <var
   title="">x</var> and <var title="">y</var> coordinates passed to the
   method, when treated as coordinates in the canvas coordinate space
   unaffected by the current transformation, is inside the intended
   path as determined by the non-zero winding number rule; and must
   return false otherwise. Points on the path itself must be considered
   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>canvas</code> element has a couple of checkboxes. The
    path-related commands are highlighted:</p>
 
    <pre>&lt;canvas height=400 width=750>
  &lt;label>&lt;input type=checkbox id=showA> Show As&lt;/label>
  &lt;label>&lt;input type=checkbox id=showB> Show Bs&lt;/label>
  &lt;!-- ... -->

|