[html5] r5451 - [giow] (2) Define how to handle <img src='mailto:foo at example.com'> Fixing http:/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 8 15:39:48 PDT 2010


Author: ianh
Date: 2010-09-08 15:39:45 -0700 (Wed, 08 Sep 2010)
New Revision: 5451

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Define how to handle <img src='mailto:foo at example.com'>
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10247

Modified: complete.html
===================================================================
--- complete.html	2010-09-08 22:31:38 UTC (rev 5450)
+++ complete.html	2010-09-08 22:39:45 UTC (rev 5451)
@@ -6221,6 +6221,18 @@
     download instead of initiating a new one, then use the results of
     the existing download instead of starting a new one.</p>
 
+    <p>Otherwise, if the resource is identified by an <a href=#absolute-url>absolute
+    URL</a> with a scheme that does not define a mechanism to
+    obtain the resource (e.g. it is a <code title="">mailto:</code>
+    URL) or that the user agent does not support, then act as if the
+    resource was an HTTP 204 No Content response with no other
+    metadata.</p>
+
+    <p>Otherwise, if the resource is identified by the
+    <a href=#url>URL</a> <dfn id=about:blank><code>about:blank</code></dfn>, then the
+    resource is immediately available and consists of the empty
+    string, with no metadata.</p>
+
     <p>Otherwise, at a time convenient to the user and the user agent,
     download (or otherwise obtain) the resource, applying the
     semantics of the relevant specifications (e.g. performing an HTTP
@@ -6237,11 +6249,6 @@
     explicitly initiated from an <i title="">origin</i>, then <i title="">the origin that initiated the HTTP request</i> is <i title="">origin</i>. Otherwise, this is <i title="">a request from
     a "privacy-sensitive" context</i>. <a href=#refsORIGIN>[ORIGIN]</a></p>
 
-    <p>If the resource is identified by the <a href=#url>URL</a>
-    <dfn id=about:blank><code>about:blank</code></dfn>, then the resource is
-    immediately available and consists of the empty string, with no
-    metadata.</p>
-
    </li>
 
    <li>

Modified: index
===================================================================
--- index	2010-09-08 22:31:38 UTC (rev 5450)
+++ index	2010-09-08 22:39:45 UTC (rev 5451)
@@ -6198,6 +6198,18 @@
     download instead of initiating a new one, then use the results of
     the existing download instead of starting a new one.</p>
 
+    <p>Otherwise, if the resource is identified by an <a href=#absolute-url>absolute
+    URL</a> with a scheme that does not define a mechanism to
+    obtain the resource (e.g. it is a <code title="">mailto:</code>
+    URL) or that the user agent does not support, then act as if the
+    resource was an HTTP 204 No Content response with no other
+    metadata.</p>
+
+    <p>Otherwise, if the resource is identified by the
+    <a href=#url>URL</a> <dfn id=about:blank><code>about:blank</code></dfn>, then the
+    resource is immediately available and consists of the empty
+    string, with no metadata.</p>
+
     <p>Otherwise, at a time convenient to the user and the user agent,
     download (or otherwise obtain) the resource, applying the
     semantics of the relevant specifications (e.g. performing an HTTP
@@ -6214,11 +6226,6 @@
     explicitly initiated from an <i title="">origin</i>, then <i title="">the origin that initiated the HTTP request</i> is <i title="">origin</i>. Otherwise, this is <i title="">a request from
     a "privacy-sensitive" context</i>. <a href=#refsORIGIN>[ORIGIN]</a></p>
 
-    <p>If the resource is identified by the <a href=#url>URL</a>
-    <dfn id=about:blank><code>about:blank</code></dfn>, then the resource is
-    immediately available and consists of the empty string, with no
-    metadata.</p>
-
    </li>
 
    <li>

Modified: source
===================================================================
--- source	2010-09-08 22:31:38 UTC (rev 5450)
+++ source	2010-09-08 22:39:45 UTC (rev 5451)
@@ -5845,6 +5845,18 @@
     download instead of initiating a new one, then use the results of
     the existing download instead of starting a new one.</p>
 
+    <p>Otherwise, if the resource is identified by an <span>absolute
+    URL</span> with a scheme that does not define a mechanism to
+    obtain the resource (e.g. it is a <code title="">mailto:</code>
+    URL) or that the user agent does not support, then act as if the
+    resource was an HTTP 204 No Content response with no other
+    metadata.</p>
+
+    <p>Otherwise, if the resource is identified by the
+    <span>URL</span> <dfn><code>about:blank</code></dfn>, then the
+    resource is immediately available and consists of the empty
+    string, with no metadata.</p>
+
     <p>Otherwise, at a time convenient to the user and the user agent,
     download (or otherwise obtain) the resource, applying the
     semantics of the relevant specifications (e.g. performing an HTTP
@@ -5866,11 +5878,6 @@
     a "privacy-sensitive" context</i>. <a
     href="#refsORIGIN">[ORIGIN]</a></p>
 
-    <p>If the resource is identified by the <span>URL</span>
-    <dfn><code>about:blank</code></dfn>, then the resource is
-    immediately available and consists of the empty string, with no
-    metadata.</p>
-
    </li>
 
    <li>




More information about the Commit-Watchers mailing list