[html5] r4030 - [] (0) Set currentSrc reliably. Fixing http://www.w3.org/Bugs/Public/show_bug.cg [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 28 23:22:41 PDT 2009


Author: ianh
Date: 2009-09-28 23:22:40 -0700 (Mon, 28 Sep 2009)
New Revision: 4030

Modified:
   index
   source
Log:
[] (0) Set currentSrc reliably.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7660

Modified: index
===================================================================
--- index	2009-09-29 05:57:20 UTC (rev 4029)
+++ index	2009-09-29 06:22:40 UTC (rev 4030)
@@ -22166,6 +22166,9 @@
      changed.</p> <!-- i.e. changing xml:base or <base> after src=""
      has no effect -->
 
+     <li><p>⌛ If <var title="">absolute URL</var> was obtained
+     successfully, set the <code title=dom-media-currentSrc><a href=#dom-media-currentsrc>currentSrc</a></code> attribute to <var title="">absolute URL</var>.</li>
+
      <li><p>End the <a href=#synchronous-section>synchronous section</a>, continuing the
      remaining steps asynchronously.</li>
 
@@ -22265,16 +22268,19 @@
      below.</li>
 
      <li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-type><a href=#attr-source-type>type</a></code> attribute whose value, when
-     parsed as a <a href=#mime-type>MIME type</a> (including any codecs described by the
-     <code title="">codec</code> parameter), represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type
-     that the user agent knows it cannot render</a>, then end the
-     <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step below.</li>
+     parsed as a <a href=#mime-type>MIME type</a> (including any codecs
+     described by the <code title="">codec</code> parameter),
+     represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
+     render</a>, then end the <a href=#synchronous-section>synchronous section</a>, and
+     jump down to the <i title="">failed</i> step below.</li>
 
      <li><p>⌛ If <var title="">candidate</var> has a <code title=attr-source-media><a href=#attr-source-media>media</a></code> attribute whose value does
      not <a href=#matches-the-environment title="matches the environment">match the
      environment</a> of the <a href=#default-view>default view</a>, then end the
      <a href=#synchronous-section>synchronous section</a>, and jump down to the <i title="">failed</i> step below.</li>
 
+     <li><p>⌛ Set the <code title=dom-media-currentSrc><a href=#dom-media-currentsrc>currentSrc</a></code> attribute to <var title="">absolute URL</var>.</li>
+
      <li><p>End the <a href=#synchronous-section>synchronous section</a>, continuing the
      remaining steps asynchronously.</li>
 
@@ -22356,10 +22362,6 @@
    algorithm. This is now the element's <a href=#media-resource>media
    resource</a>.</li>
 
-   <li><p>Set the <code title=dom-media-currentSrc><a href=#dom-media-currentsrc>currentSrc</a></code> attribute to the
-   <a href=#absolute-url>absolute URL</a> of the <var title="">current media
-   resource</var>.</li>
-
    <li>
 
     <p>Begin to <a href=#fetch>fetch</a> the <var title="">current media

Modified: source
===================================================================
--- source	2009-09-29 05:57:20 UTC (rev 4029)
+++ source	2009-09-29 06:22:40 UTC (rev 4030)
@@ -23885,6 +23885,11 @@
      changed.</p> <!-- i.e. changing xml:base or <base> after src=""
      has no effect -->
 
+     <li><p>&#x231B; If <var title="">absolute URL</var> was obtained
+     successfully, set the <code
+     title="dom-media-currentSrc">currentSrc</code> attribute to <var
+     title="">absolute URL</var>.</p></li>
+
      <li><p>End the <span>synchronous section</span>, continuing the
      remaining steps asynchronously.</p></li>
 
@@ -24014,11 +24019,11 @@
 
      <li><p>&#x231B; If <var title="">candidate</var> has a <code
      title="attr-source-type">type</code> attribute whose value, when
-     parsed as a <span>MIME type</span> (including any codecs described by the
-     <code title="">codec</code> parameter), represents <span>a type
-     that the user agent knows it cannot render</span>, then end the
-     <span>synchronous section</span>, and jump down to the <i
-     title="">failed</i> step below.</p></li>
+     parsed as a <span>MIME type</span> (including any codecs
+     described by the <code title="">codec</code> parameter),
+     represents <span>a type that the user agent knows it cannot
+     render</span>, then end the <span>synchronous section</span>, and
+     jump down to the <i title="">failed</i> step below.</p></li>
 
      <li><p>&#x231B; If <var title="">candidate</var> has a <code
      title="attr-source-media">media</code> attribute whose value does
@@ -24027,6 +24032,10 @@
      <span>synchronous section</span>, and jump down to the <i
      title="">failed</i> step below.</p></li>
 
+     <li><p>&#x231B; Set the <code
+     title="dom-media-currentSrc">currentSrc</code> attribute to <var
+     title="">absolute URL</var>.</p></li>
+
      <li><p>End the <span>synchronous section</span>, continuing the
      remaining steps asynchronously.</p></li>
 
@@ -24126,11 +24135,6 @@
    algorithm. This is now the element's <span>media
    resource</span>.</p></li>
 
-   <li><p>Set the <code
-   title="dom-media-currentSrc">currentSrc</code> attribute to the
-   <span>absolute URL</span> of the <var title="">current media
-   resource</var>.</p></li>
-
    <li>
 
     <p>Begin to <span>fetch</span> the <var title="">current media




More information about the Commit-Watchers mailing list