HTML5 Tracker

Diff (omit for latest revision)
Filter

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

SVNBugCommentTime (UTC)
1802URLify the 'address of the chosen media resource' concept and related parts.2008-06-25 09:43
Index: source
===================================================================
--- source	(revision 1801)
+++ source	(revision 1802)
@@ -15141,13 +15141,12 @@
    <li><p>Let the <var title="">chosen resource's pixel ratio
    override</var> be <i>none</i>.</p></li>
 
-  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
-
-   <!-- XXXURL pass the attribute value to the last step -->
    <li><p>If the <span>media element</span> has a <code
-   title="attr-media-src">src</code>, then the address given in that
-   attribute is the address of the <span>media resource</span>; jump
-   to the last step.</p></li>
+   title="attr-media-src">src</code> attribute, then <span
+   title="resolve a url">resolve</span> the <span>URL</span> given in
+   that attribute. If that is successful, then the resulting
+   <span>absolute URL</span> is the address of the <span>media
+   resource</span>; jump to the last step.</p></li>
 
    <li><p>Otherwise, let <var title="">candidate</var> be the first
    <code>source</code> element child in the <span>media
@@ -15174,6 +15173,11 @@
      <li>the <var title="">candidate</var> element has no <code
      title="attr-source-src">src</code> attribute, or</li>
 
+     <li><span title="resolve a url">resolving</span> the
+     <span>URL</span> given by the <var title="">candidate</var>
+     element's <code title="attr-source-src">src</code> attribute
+     fails, or</li>
+
      <li>the <var title="">candidate</var> element has a <code
      title="attr-source-type">type</code> attribute and that
      attribute's value, when parsed as a MIME type, does not represent
@@ -15193,8 +15197,8 @@
     <p>...then the <var title="">candidate</var> is not suitable; go
     to the next step.</p>
 
-    <!-- XXXURL pass the attribute value to the last step -->
-    <p>Otherwise, the address given in that <var
+    <p>Otherwise, the result of <span title="resolve a
+    url">resolving</span> the <span>URL</span> given in that <var
     title="">candidate</var> element's <code
     title="attr-source-src">src</code> attribute is the address of the
     <span>media resource</span>; jump to the last step.</p>
@@ -15212,12 +15216,11 @@
    <li><p>There is no <span>media resource</span>. Abort these
    steps.</p></li>
 
-   <!-- XXXURL resolve the url of the attribute value passed to this step here -->
-   <!-- XXXURL define "address of the chosen media resource" and make sure the next paragraph uses it -->
    <li><p>Let the address of the <dfn>chosen media resource</dfn> be
-   the one that was found before jumping to this step, and let its
-   <dfn>pixel ratio override</dfn> be the value of the <var
-   title="">chosen resource's pixel ratio override</var>.</p></li>
+   the <span>absolute URL</span> that was found before jumping to this
+   step, and let its <dfn>pixel ratio override</dfn> be the value of
+   the <var title="">chosen resource's pixel ratio
+   override</var>.</p></li>
 
   </ol>
 
@@ -15226,8 +15229,9 @@
   attribute must return the empty string if the <span>media
   element</span>'s <code
   title="dom-media-networkState">networkState</code> has the value
-  <span title="dom-media-EMPTY">EMPTY</span>, and the address of the
-  <span>chosen media resource</span> otherwise.</p>
+  <span title="dom-media-EMPTY">EMPTY</span>, and the <span>absolute
+  URL</span> that is the address of the <span>chosen media
+  resource</span> otherwise.</p>
 
 
 
@@ -17101,6 +17105,7 @@
   define a <code>3d</code> context (probably based on the OpenGL ES
   API).</p>
 
+  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
 
   <!-- XXXURL data: URIs? -->
   <p>The <dfn

|