[html5] r1119 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat Nov 3 01:44:40 PDT 2007
Author: ianh
Date: 2007-11-03 01:44:39 -0700 (Sat, 03 Nov 2007)
New Revision: 1119
Modified:
index
source
Log:
[] (0) Introducing the rel=noreferer proposal, and other referer header changes.
Modified: index
===================================================================
--- index 2007-11-01 03:11:39 UTC (rev 1118)
+++ index 2007-11-03 08:44:39 UTC (rev 1119)
@@ -22,7 +22,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=working>Working Draft — 1 November 2007</h2>
+ <h2 class="no-num no-toc" id=working>Working Draft — 3 November 2007</h2>
<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -1284,46 +1284,49 @@
type "<code>nofollow</code>"</a>
<li><a href="#link-type10"><span class=secno>4.12.3.12. </span>Link
+ type "<code>noreferer</code>"</a>
+
+ <li><a href="#link-type11"><span class=secno>4.12.3.13. </span>Link
type "<code>pingback</code>"</a>
- <li><a href="#link-type11"><span class=secno>4.12.3.13. </span>Link
+ <li><a href="#link-type12"><span class=secno>4.12.3.14. </span>Link
type "<code>prefetch</code>"</a>
- <li><a href="#link-type12"><span class=secno>4.12.3.14. </span>Link
+ <li><a href="#link-type13"><span class=secno>4.12.3.15. </span>Link
type "<code>search</code>"</a>
- <li><a href="#link-type13"><span class=secno>4.12.3.15. </span>Link
+ <li><a href="#link-type14"><span class=secno>4.12.3.16. </span>Link
type "<code>stylesheet</code>"</a>
- <li><a href="#link-type14"><span class=secno>4.12.3.16. </span>Link
+ <li><a href="#link-type15"><span class=secno>4.12.3.17. </span>Link
type "<code>sidebar</code>"</a>
- <li><a href="#link-type15"><span class=secno>4.12.3.17. </span>Link
+ <li><a href="#link-type16"><span class=secno>4.12.3.18. </span>Link
type "<code>tag</code>"</a>
- <li><a href="#hierarchical"><span class=secno>4.12.3.18.
+ <li><a href="#hierarchical"><span class=secno>4.12.3.19.
</span>Hierarchical link types</a>
<ul class=toc>
- <li><a href="#link-type16"><span class=secno>4.12.3.18.1.
+ <li><a href="#link-type17"><span class=secno>4.12.3.19.1.
</span>Link type "<code>first</code>"</a>
- <li><a href="#link-type17"><span class=secno>4.12.3.18.2.
+ <li><a href="#link-type18"><span class=secno>4.12.3.19.2.
</span>Link type "<code>index</code>"</a>
- <li><a href="#link-type18"><span class=secno>4.12.3.18.3.
+ <li><a href="#link-type19"><span class=secno>4.12.3.19.3.
</span>Link type "<code>last</code>"</a>
- <li><a href="#link-type19"><span class=secno>4.12.3.18.4.
+ <li><a href="#link-type20"><span class=secno>4.12.3.19.4.
</span>Link type "<code>next</code>"</a>
- <li><a href="#link-type20"><span class=secno>4.12.3.18.5.
+ <li><a href="#link-type21"><span class=secno>4.12.3.19.5.
</span>Link type "<code>prev</code>"</a>
- <li><a href="#link-type21"><span class=secno>4.12.3.18.6.
+ <li><a href="#link-type22"><span class=secno>4.12.3.19.6.
</span>Link type "<code>up</code>"</a>
</ul>
- <li><a href="#other0"><span class=secno>4.12.3.19. </span>Other link
+ <li><a href="#other0"><span class=secno>4.12.3.20. </span>Other link
types</a>
</ul>
</ul>
@@ -2627,14 +2630,16 @@
title=dom-document-referrer><code>referrer</code></dfn> attribute must
return either the URI of the page which <a href="#navigate"
title=navigate>navigated</a> the <a href="#browsing0">browsing context</a>
- to the current document (if any), or the empty string (if there is no such
+ to the current document (if any), or the empty string if there is no such
originating page, or if the UA has been configured not to report
- referrers).
+ referrers, or if the navigation was initiated for a <a
+ href="#hyperlinks">hyperlink</a> with a <code title=rel-noreferer><a
+ href="#noreferer">noreferer</a></code> keyword.
<p class=note>In the case of HTTP, the <code title=dom-document-referrer><a
- href="#referrer">referrer</a></code> DOM attribute will match the
- <code>Referer</code> (sic) header that was sent when fetching the current
- page.
+ href="#referrer">referrer</a></code> DOM attribute will match the <code
+ title="">Referer</code> (sic) header that was sent when fetching the
+ current page.
<p>The <dfn id=cookie0 title=dom-document-cookie><code>cookie</code></dfn>
attribute must, on getting, return the same string as the value of the
@@ -31185,11 +31190,11 @@
of the result of that request.
<p>User agents should allow the user to adjust this behaviour, for example
- in conjunction with a setting that disables the sending of HTTP Referrer
- headers. Based on the user's preferences, UAs may either <a
- href="#ignored">ignore</a> the <code title=attr-hyperlink-ping><a
+ in conjunction with a setting that disables the sending of HTTP <coe
+ title="">Referer headers. Based on the user's preferences, UAs may either
+ <a href="#ignored">ignore</a> the <code title=attr-hyperlink-ping><a
href="#ping">ping</a></code> attribute altogether, or selectively ignore
- URIs in the list (e.g. ignoring any third-party URIs).
+ URIs in the list (e.g. ignoring any third-party URIs).</coe>
<p>For URIs that are HTTP URIs, the requests must be performed using the
POST method (with an empty entity body in the request). User agents must
@@ -31424,6 +31429,16 @@
does not endorse the referenced document.
<tr>
+ <td><code title=rel-noreferer><a href="#noreferer">noreferer</a></code>
+
+ <td><em>not allowed</em>
+
+ <td><a href="#hyperlinks">Hyperlink</a>
+
+ <td>Requires that the user agent not send an HTTP <code
+ title="">Referer</code> header if the user follows the hyperlink.
+
+ <tr>
<td><code title=rel-pingback><a href="#pingback">pingback</a></code>
<td><a href="#links1" title="external resource link">External
@@ -31870,6 +31885,23 @@
publisher of the page.
<h5 id=link-type10><span class=secno>4.12.3.12. </span>Link type "<dfn
+ id=noreferer title=rel-noreferer><code>noreferer</code></dfn>"</h5>
+
+ <p>The <code title=rel-noreferer><a href="#noreferer">noreferer</a></code>
+ keyword may be used with <code><a href="#a">a</a></code> and <code><a
+ href="#area">area</a></code> elements.
+
+ <p>If a user agent follows a link defined by an <code><a
+ href="#a">a</a></code> or <code><a href="#area">area</a></code> element
+ that has the <code title=rel-noreferer><a
+ href="#noreferer">noreferer</a></code> keyword, the user agent must not
+ include a <code title="">Referer</code> HTTP header (or equivalent for
+ other protocols) in the request.
+
+ <p class=note>The HTTP header is misspelt for historical reasons; this
+ keyword is misspelt for consistency.
+
+ <h5 id=link-type11><span class=secno>4.12.3.13. </span>Link type "<dfn
id=pingback title=rel-pingback><code>pingback</code></dfn>"</h5>
<p>The <code title=rel-pingback><a href="#pingback">pingback</a></code>
@@ -31881,7 +31913,7 @@
href="#pingback">pingback</a></code> keyword, see the Pingback 1.0
specification. <a href="#refsPINGBACK">[PINGBACK]</a>
- <h5 id=link-type11><span class=secno>4.12.3.13. </span>Link type "<dfn
+ <h5 id=link-type12><span class=secno>4.12.3.14. </span>Link type "<dfn
id=prefetch title=rel-prefetch><code>prefetch</code></dfn>"</h5>
<p>The <code title=rel-prefetch><a href="#prefetch">prefetch</a></code>
@@ -31894,7 +31926,7 @@
resource is likely to be beneficial, as it is highly likely that the user
will require this resource.
- <h5 id=link-type12><span class=secno>4.12.3.14. </span>Link type "<dfn
+ <h5 id=link-type13><span class=secno>4.12.3.15. </span>Link type "<dfn
id=search0 title=rel-search><code>search</code></dfn>"</h5>
<p>The <code title=rel-search><a href="#search0">search</a></code> keyword
@@ -31912,7 +31944,7 @@
href="#search0">search</a></code> link type to enable user agents to
autodiscover search interfaces.
- <h5 id=link-type13><span class=secno>4.12.3.15. </span>Link type "<dfn
+ <h5 id=link-type14><span class=secno>4.12.3.16. </span>Link type "<dfn
id=stylesheet title=rel-stylesheet><code>stylesheet</code></dfn>"</h5>
<p>The <code title=rel-stylesheet><a
@@ -31930,7 +31962,7 @@
<code><a href="#link">link</a></code> element, then the link is an
alternative stylesheet.
- <h5 id=link-type14><span class=secno>4.12.3.16. </span>Link type "<dfn
+ <h5 id=link-type15><span class=secno>4.12.3.17. </span>Link type "<dfn
id=sidebar title=rel-sidebar><code>sidebar</code></dfn>"</h5>
<p>The <code title=rel-sidebar><a href="#sidebar">sidebar</a></code>
@@ -31950,7 +31982,7 @@
specified is a <dfn id=sidebar0 title=rel-sidebar-hyperlink>sidebar
hyperlink</dfn>.
- <h5 id=link-type15><span class=secno>4.12.3.17. </span>Link type "<dfn
+ <h5 id=link-type16><span class=secno>4.12.3.18. </span>Link type "<dfn
id=tag title=rel-tag><code>tag</code></dfn>"</h5>
<p>The <code title=rel-tag><a href="#tag">tag</a></code> keyword may be
@@ -31963,7 +31995,7 @@
that the <em>tag</em> that the referenced document represents applies to
the current document.
- <h5 id=hierarchical><span class=secno>4.12.3.18. </span>Hierarchical link
+ <h5 id=hierarchical><span class=secno>4.12.3.19. </span>Hierarchical link
types</h5>
<p>Some documents form part of a hierarchical structure of documents.
@@ -31976,7 +32008,7 @@
<em>previous sibling</em>, and the one that follows it is its <em>next
sibling</em>. A document with no parent forms the top of the hierarchy.
- <h6 id=link-type16><span class=secno>4.12.3.18.1. </span>Link type "<dfn
+ <h6 id=link-type17><span class=secno>4.12.3.19.1. </span>Link type "<dfn
id=first title=rel-first><code>first</code></dfn>"</h6>
<p>The <code title=rel-first><a href="#first">first</a></code> keyword may
@@ -31995,7 +32027,7 @@
title="">start</code>" like the <code title=rel-first><a
href="#first">first</a></code> keyword.
- <h6 id=link-type17><span class=secno>4.12.3.18.2. </span>Link type "<dfn
+ <h6 id=link-type18><span class=secno>4.12.3.19.2. </span>Link type "<dfn
id=index title=rel-index><code>index</code></dfn>"</h6>
<p>The <code title=rel-index><a href="#index">index</a></code> keyword may
@@ -32015,7 +32047,7 @@
title="">contents</code>", and "<code title="">toc</code>" like the <code
title=rel-index><a href="#index">index</a></code> keyword.
- <h6 id=link-type18><span class=secno>4.12.3.18.3. </span>Link type "<dfn
+ <h6 id=link-type19><span class=secno>4.12.3.19.3. </span>Link type "<dfn
id=last title=rel-last><code>last</code></dfn>"</h6>
<p>The <code title=rel-last><a href="#last">last</a></code> keyword may be
@@ -32033,7 +32065,7 @@
treat the keyword "<code title="">end</code>" like the <code
title=rel-last><a href="#last">last</a></code> keyword.
- <h6 id=link-type19><span class=secno>4.12.3.18.4. </span>Link type "<dfn
+ <h6 id=link-type20><span class=secno>4.12.3.19.4. </span>Link type "<dfn
id=next title=rel-next><code>next</code></dfn>"</h6>
<p>The <code title=rel-next><a href="#next">next</a></code> keyword may be
@@ -32047,7 +32079,7 @@
the link is leading to the document that is the next sibling of the
current document.
- <h6 id=link-type20><span class=secno>4.12.3.18.5. </span>Link type "<dfn
+ <h6 id=link-type21><span class=secno>4.12.3.19.5. </span>Link type "<dfn
id=prev title=rel-prev><code>prev</code></dfn>"</h6>
<p>The <code title=rel-prev><a href="#prev">prev</a></code> keyword may be
@@ -32065,7 +32097,7 @@
treat the keyword "<code title="">previous</code>" like the <code
title=rel-prev><a href="#prev">prev</a></code> keyword.
- <h6 id=link-type21><span class=secno>4.12.3.18.6. </span>Link type "<dfn
+ <h6 id=link-type22><span class=secno>4.12.3.19.6. </span>Link type "<dfn
id=up title=rel-up><code>up</code></dfn>"</h6>
<p>The <code title=rel-up><a href="#up">up</a></code> keyword may be used
@@ -32124,7 +32156,7 @@
</nav></pre>
</div>
- <h5 id=other0><span class=secno>4.12.3.19. </span>Other link types</h5>
+ <h5 id=other0><span class=secno>4.12.3.20. </span>Other link types</h5>
<p>Other than the types defined above, only types defined as extensions in
the <a href="http://wiki.whatwg.org/wiki/RelExtensions">WHATWG Wiki
Modified: source
===================================================================
--- source 2007-11-01 03:11:39 UTC (rev 1118)
+++ source 2007-11-03 08:44:39 UTC (rev 1119)
@@ -1034,14 +1034,16 @@
title="dom-document-referrer"><code>referrer</code></dfn> attribute
must return either the URI of the page which <span
title="navigate">navigated</span> the <span>browsing context</span>
- to the current document (if any), or the empty string (if there is
- no such originating page, or if the UA has been configured not to
- report referrers).</p>
+ to the current document (if any), or the empty string if there is no
+ such originating page, or if the UA has been configured not to
+ report referrers, or if the navigation was initiated for a
+ <span>hyperlink</span> with a <code
+ title="rel-noreferer">noreferer</code> keyword.</p>
<p class="note">In the case of HTTP, the <code
title="dom-document-referrer">referrer</code> DOM attribute will
- match the <code>Referer</code> (sic) header that was sent when
- fetching the current page.</p>
+ match the <code title="">Referer</code> (sic) header that was sent
+ when fetching the current page.</p>
<p>The <dfn title="dom-document-cookie"><code>cookie</code></dfn>
@@ -28759,10 +28761,11 @@
<p>User agents should allow the user to adjust this behaviour, for
example in conjunction with a setting that disables the sending of
- HTTP Referrer headers. Based on the user's preferences, UAs may
- either <span>ignore</span> the <code title="attr-hyperlink-ping">ping</code>
- attribute altogether, or selectively ignore URIs in the list
- (e.g. ignoring any third-party URIs).</p>
+ HTTP <coe title="">Referer</code> headers. Based on the user's
+ preferences, UAs may either <span>ignore</span> the <code
+ title="attr-hyperlink-ping">ping</code> attribute altogether, or
+ selectively ignore URIs in the list (e.g. ignoring any third-party
+ URIs).</p>
<p>For URIs that are HTTP URIs, the requests must be performed using
the POST method (with an empty entity body in the request). User
@@ -28956,6 +28959,13 @@
</tr>
<tr>
+ <td><code title="rel-noreferer">noreferer</code></td>
+ <td><em>not allowed</em></td>
+ <td><span>Hyperlink</span></td>
+ <td>Requires that the user agent not send an HTTP <code title="">Referer</code> header if the user follows the hyperlink.</td>
+ </tr>
+
+ <tr>
<td><code title="rel-pingback">pingback</code></td>
<td><span title="external resource link">External Resource</span></td>
<td><em>not allowed</em></td>
@@ -29354,6 +29364,21 @@
the page.</p>
+ <h5>Link type "<dfn title="rel-noreferer"><code>noreferer</code></dfn>"</h5>
+
+ <p>The <code title="rel-noreferer">noreferer</code> keyword may be
+ used with <code>a</code> and <code>area</code> elements.</p>
+
+ <p>If a user agent follows a link defined by an <code>a</code> or
+ <code>area</code> element that has the <code
+ title="rel-noreferer">noreferer</code> keyword, the user agent must
+ not include a <code title="">Referer</code> HTTP header (or
+ equivalent for other protocols) in the request.</p>
+
+ <p class="note">The HTTP header is misspelt for historical reasons;
+ this keyword is misspelt for consistency.</p>
+
+
<h5>Link type "<dfn title="rel-pingback"><code>pingback</code></dfn>"</h5>
<p>The <code title="rel-pingback">pingback</code> keyword may be
More information about the Commit-Watchers
mailing list