Skip to content

Commit

Permalink
[giow] (2) Define how to handle <img src='mailto:foo@example.com'>
Browse files Browse the repository at this point in the history
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 dcc945f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 15 deletions.
17 changes: 12 additions & 5 deletions complete.html
Expand Up @@ -6221,6 +6221,18 @@ <h3 id=fetching-resources><span class=secno>2.6 </span>Fetching resources</h3>
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
Expand All @@ -6237,11 +6249,6 @@ <h3 id=fetching-resources><span class=secno>2.6 </span>Fetching resources</h3>
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>
Expand Down
17 changes: 12 additions & 5 deletions index
Expand Up @@ -6198,6 +6198,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 <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
Expand All @@ -6214,11 +6226,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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>
Expand Down
17 changes: 12 additions & 5 deletions source
Expand Up @@ -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
Expand All @@ -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>
Expand Down

0 comments on commit dcc945f

Please sign in to comment.