[html5] r1706 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon May 26 22:09:37 PDT 2008


Author: ianh
Date: 2008-05-26 22:09:36 -0700 (Mon, 26 May 2008)
New Revision: 1706

Modified:
   index
   source
Log:
[e] (0) Discuss the difference between rel='' on <link> and <a>.

Modified: index
===================================================================
--- index	2008-05-26 20:59:00 UTC (rev 1705)
+++ index	2008-05-27 05:09:36 UTC (rev 1706)
@@ -25,7 +25,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 26 May
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 27 May
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -7819,6 +7819,15 @@
    resource (as given by the <code title=attr-link-type><a
    href="#type">type</a></code> attribute).
 
+  <p class=note>Hyperlinks created with the <code><a
+   href="#link">link</a></code> element and its <code title=attr-link-rel><a
+   href="#rel">rel</a></code> attribute apply to the whole page. This
+   contrasts with the <code title=attr-hyperlink-rel><a
+   href="#rel3">rel</a></code> attribute of <code><a href="#a">a</a></code>
+   and <code><a href="#area">area</a></code> elements, which indicates the
+   type of a link whose context is given by the link's location within the
+   document.
+
   <p>The <dfn id=media0 title=attr-link-media><code>media</code></dfn>
    attribute says which media the resource applies to. The value must be a
    valid <a href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a>

Modified: source
===================================================================
--- source	2008-05-26 20:59:00 UTC (rev 1705)
+++ source	2008-05-27 05:09:36 UTC (rev 1706)
@@ -6232,6 +6232,14 @@
   of the resource (as given by the <code
   title="attr-link-type">type</code> attribute).</p>
 
+  <p class="note">Hyperlinks created with the <code>link</code>
+  element and its <code title="attr-link-rel">rel</code> attribute
+  apply to the whole page. This contrasts with the <code
+  title="attr-hyperlink-rel">rel</code> attribute of <code>a</code>
+  and <code>area</code> elements, which indicates the type of a link
+  whose context is given by the link's location within the
+  document.</p>
+
   <p>The <dfn title="attr-link-media"><code>media</code></dfn>
   attribute says which media the resource applies to. The value must
   be a valid <a href="#mq">media query</a>. <a




More information about the Commit-Watchers mailing list