[html5] r1802 - [] (0) URLify the 'address of the chosen media resource' concept and related parts.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 25 02:43:14 PDT 2008


Author: ianh
Date: 2008-06-25 02:43:13 -0700 (Wed, 25 Jun 2008)
New Revision: 1802

Modified:
   index
   source
Log:
[] (0) URLify the 'address of the chosen media resource' concept and related parts.

Modified: index
===================================================================
--- index	2008-06-25 07:47:52 UTC (rev 1801)
+++ index	2008-06-25 09:43:13 UTC (rev 1802)
@@ -17382,15 +17382,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
@@ -17418,6 +17417,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
@@ -17434,12 +17438,13 @@
 
     <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
      href="#source">source</a></code> element child in the <a
@@ -17452,15 +17457,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
@@ -17468,7 +17471,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>
@@ -19612,6 +19616,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

Modified: source
===================================================================
--- source	2008-06-25 07:47:52 UTC (rev 1801)
+++ source	2008-06-25 09:43:13 UTC (rev 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




More information about the Commit-Watchers mailing list