[html5] r1510 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 29 04:14:22 PDT 2008


Author: ianh
Date: 2008-04-29 04:14:21 -0700 (Tue, 29 Apr 2008)
New Revision: 1510

Modified:
   index
   source
Log:
[] (0) Mention data: URIs explicitly, so we can give them a better origin. Also, safeguard mentions of the data: URIs from becoming xrefs.

Modified: index
===================================================================
--- index	2008-04-29 11:02:55 UTC (rev 1509)
+++ index	2008-04-29 11:14:21 UTC (rev 1510)
@@ -17192,8 +17192,8 @@
   <p>The <dfn id=todataurl0
    title=dom-canvas-toDataURL-type><code>toDataURL(<var
    title="">type</var>)</code></dfn> method (when called with one <em>or
-   more</em> arguments) must return a <code>data:</code> URI containing a
-   representation of the image in the format given by <var
+   more</em> arguments) must return a <code title="">data:</code> URI
+   containing a representation of the image in the format given by <var
    title="">type</var>. The possible values are MIME types with no
    parameters, for example <code>image/png</code>, <code>image/jpeg</code>,
    or even maybe <code>image/svg+xml</code> if the implementation actually
@@ -17204,8 +17204,8 @@
    type, it must return the image using the PNG format.
 
   <p>User agents must convert the provided type to lower case before
-   establishing if they support that type and before creating the
-   <code>data:</code> URI.</p>
+   establishing if they support that type and before creating the <code
+   title="">data:</code> URI.</p>
   <!-- XXX define "convert to lower case"
   -->
 
@@ -27176,8 +27176,9 @@
       protocol"><code title="">javascript:</code> URI</a> that was returned
       as the location of an HTTP redirect (or equivalent in other protocols)
 
-     <dd>The owner is URI that redirected to the <a href="#the-javascript"
-      title="javascript protocol"><code title="">javascript:</code> URI</a>.
+     <dd>The owner is the URI that redirected to the <a
+      href="#the-javascript" title="javascript protocol"><code
+      title="">javascript:</code> URI</a>.
 
      <dt>If a script is a <a href="#the-javascript" title="javascript
       protocol"><code title="">javascript:</code> URI</a> in an attribute
@@ -27240,12 +27241,19 @@
      <dd>The origin is the origin of the full URI of the
       <code>Document</code> or image.
 
-     <dt>If a <code>Document</code> or image was generated from a
-      <code>data:</code> URI found in another <code>Document</code> or in a
-      script
+     <dt>If a <code>Document</code> or image was generated from a <code
+      title="">data:</code> URI that was returned as the location of an HTTP
+      redirect (or equivalent in other protocols)
 
+     <dd>The origin is the origin of the URI that redirected to the <code
+      title="">data:</code> URI.
+
+     <dt>If a <code>Document</code> or image was generated from a <code
+      title="">data:</code> URI found in another <code>Document</code> or in
+      a script
+
      <dd>The origin is the origin of the <code>Document</code> or script in
-      which the <code>data:</code> URI was found.
+      which the <code title="">data:</code> URI was found.
 
      <dt>If a <code>Document</code> has the URI "<code>about:blank</code>"
 
@@ -27254,10 +27262,10 @@
       context was created</a>.
 
      <dt>If a <code>Document</code> or image was obtained in some other
-      manner (e.g. a <code>data:</code> URI typed in by the user, a
+      manner (e.g. a <code title="">data:</code> URI typed in by the user, a
       <code>Document</code> created using the <code
-      title="">createDocument()</code> API, a <code>data:</code> URI returned
-      as the location of an HTTP redirect, etc)
+      title="">createDocument()</code> API, a <code title="">data:</code> URI
+      returned as the location of an HTTP redirect, etc)
 
      <dd>The origin is a globally unique identifier assigned when the
       <code>Document</code> or image is created.

Modified: source
===================================================================
--- source	2008-04-29 11:02:55 UTC (rev 1509)
+++ source	2008-04-29 11:14:21 UTC (rev 1510)
@@ -14859,7 +14859,7 @@
 
   <p>The <dfn title="dom-canvas-toDataURL-type"><code>toDataURL(<var
   title="">type</var>)</code></dfn> method (when called with one
-  <em>or more</em> arguments) must return a <code>data:</code> URI
+  <em>or more</em> arguments) must return a <code title="">data:</code> URI
   containing a representation of the image in the format given by <var
   title="">type</var>. The possible values are MIME types with no
   parameters, for example <code>image/png</code>,
@@ -14873,7 +14873,7 @@
 
   <p>User agents must convert the provided type to lower case before
   establishing if they support that type and before creating the
-  <code>data:</code> URI.</p> <!-- XXX define "convert to lower case"
+  <code title="">data:</code> URI.</p> <!-- XXX define "convert to lower case"
   -->
 
   <p class="note">When trying to use types other than
@@ -24880,7 +24880,7 @@
      location of an HTTP redirect (or equivalent in other
      protocols)</dt>
 
-     <dd>The owner is URI that redirected to the <span
+     <dd>The owner is the URI that redirected to the <span
      title="javascript protocol"><code title="">javascript:</code>
      URI</span>.</dd>
 
@@ -24957,11 +24957,19 @@
 
 
      <dt>If a <code>Document</code> or image was generated from a
-     <code>data:</code> URI found in another <code>Document</code> or
+     <code title="">data:</code> URI that was returned as the location of an
+     HTTP redirect (or equivalent in other protocols)</dt>
+
+     <dd>The origin is the origin of the URI that redirected to the
+     <code title="">data:</code> URI.</dd>
+
+
+     <dt>If a <code>Document</code> or image was generated from a
+     <code title="">data:</code> URI found in another <code>Document</code> or
      in a script</dt>
 
      <dd>The origin is the origin of the <code>Document</code> or
-     script in which the <code>data:</code> URI was found.</dd>
+     script in which the <code title="">data:</code> URI was found.</dd>
 
 
      <dt>If a <code>Document</code> has the URI
@@ -24973,9 +24981,9 @@
 
 
      <dt>If a <code>Document</code> or image was obtained in some
-     other manner (e.g. a <code>data:</code> URI typed in by the user,
+     other manner (e.g. a <code title="">data:</code> URI typed in by the user,
      a <code>Document</code> created using the <code
-     title="">createDocument()</code> API, a <code>data:</code> URI
+     title="">createDocument()</code> API, a <code title="">data:</code> URI
      returned as the location of an HTTP redirect, etc)</dt>
 
      <dd>The origin is a globally unique identifier assigned when the




More information about the Commit-Watchers mailing list