Skip to content
Permalink
Browse files

[giow] (2) Define how to handle <img src='mailto:foo@example.com'>

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10247

git-svn-id: http://svn.whatwg.org/webapps@5451 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 8, 2010
1 parent e834620 commit dcc945fcfebe0f1f7e03758d4a4192ae4ffe7ece
Showing with 36 additions and 15 deletions.
  1. +12 −5 complete.html
  2. +12 −5 index
  3. +12 −5 source
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
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>
17 index
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
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>
17 source
@@ -5845,6 +5845,18 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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.setAttribute('href', 'http://example.com/'); // change the content attribute d
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>

0 comments on commit dcc945f

Please sign in to comment.
You can’t perform that action at this time.