spec/Overview.html 1.991 1802 URLify the 'address of the chosen media r

URLify the 'address of the chosen media resource' concept and related
parts. (whatwg r1802) (changed by: Ian Hickson)

Diff: http://people.w3.org/mike/diffs/html5/spec/Overview.1.991.html
Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.990&r2=1.991&f=h
http://dev.w3.org/html5/spec/Overview.html

http://html5.org/tools/web-apps-tracker?from=1801&to=1802

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.990
retrieving revision 1.991
diff -u -d -r1.990 -r1.991
--- Overview.html	25 Jun 2008 07:47:55 -0000	1.990
+++ Overview.html	25 Jun 2008 09:43:17 -0000	1.991
@@ -17486,15 +17486,14 @@
    <li>
     <p>Let the <var title="">chosen resource's pixel ratio override</var> be
      <i>none</i>.
-   </li>
-   <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
-   <!-- XXXURL pass the attribute value to the last step -->
 
    <li>
     <p>If the <a href="#media7">media element</a> has a <code
-     title=attr-media-src><a href="#src7">src</a></code>, then the address
-     given in that attribute is the address of the <a href="#media10">media
-     resource</a>; jump to the last step.
+     title=attr-media-src><a href="#src7">src</a></code> attribute, then <a
+     href="#resolve" title="resolve a url">resolve</a> the <a
+     href="#url">URL</a> given in that attribute. If that is successful, then
+     the resulting <a href="#absolute">absolute URL</a> is the address of the
+     <a href="#media10">media resource</a>; jump to the last step.
 
    <li>
     <p>Otherwise, let <var title="">candidate</var> be the first <code><a
@@ -17522,6 +17521,11 @@
      <li>the <var title="">candidate</var> element has no <code
       title=attr-source-src><a href="#src5">src</a></code> attribute, or
 
+     <li><a href="#resolve" title="resolve a url">resolving</a> the <a
+      href="#url">URL</a> given by the <var title="">candidate</var>
+      element's <code title=attr-source-src><a href="#src5">src</a></code>
+      attribute fails, or
+
      <li>the <var title="">candidate</var> element has a <code
       title=attr-source-type><a href="#type8">type</a></code> attribute and
       that attribute's value, when parsed as a MIME type, does not represent
@@ -17538,11 +17542,12 @@
 
     <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 title="">candidate</var>
-     element's <code title=attr-source-src><a href="#src5">src</a></code>
-     attribute is the address of the <a href="#media10">media resource</a>;
-     jump to the last step.</p>
+
+    <p>Otherwise, the result of <a href="#resolve" title="resolve a
+     url">resolving</a> the <a href="#url">URL</a> given in that <var
+     title="">candidate</var> element's <code title=attr-source-src><a
+     href="#src5">src</a></code> attribute is the address of the <a
+     href="#media10">media resource</a>; jump to the last step.</p>
 
    <li>
     <p>Let <var title="">candidate</var> be the next <code><a
@@ -17556,15 +17561,13 @@
 
    <li>
     <p>There is no <a href="#media10">media resource</a>. Abort these steps.
-   </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 id=chosen>chosen media resource</dfn> be
-     the one that was found before jumping to this step, and let its <dfn
-     id=pixel0>pixel ratio override</dfn> be the value of the <var
-     title="">chosen resource's pixel ratio override</var>.
+     the <a href="#absolute">absolute URL</a> that was found before jumping
+     to this step, and let its <dfn id=pixel0>pixel ratio override</dfn> be
+     the value of the <var title="">chosen resource's pixel ratio
+     override</var>.
   </ol>
 
   <p>The <dfn id=currentsrc
@@ -17572,7 +17575,8 @@
    must return the empty string if the <a href="#media7">media element</a>'s
    <code title=dom-media-networkState><a
    href="#networkstate">networkState</a></code> has the value <a
-   href="#empty" title=dom-media-EMPTY>EMPTY</a>, and the address of the <a
+   href="#empty" title=dom-media-EMPTY>EMPTY</a>, and the <a
+   href="#absolute">absolute URL</a> that is the address of the <a
    href="#chosen">chosen media resource</a> otherwise.
 
   <h5 id=network0><span class=secno>4.7.10.3. </span>Network states</h5>
@@ -19716,6 +19720,7 @@
 
   <p class=note>A future version of this specification will probably 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 id=todataurl

Received on Wednesday, 25 June 2008 09:45:55 UTC