HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5249

File a bug

SVNBugCommentTime (UTC)
5249Add text to enable us to registry the HTML link types with [WEBLINK].2010-08-09 03:58
Index: source
===================================================================
--- source	(revision 5248)
+++ source	(revision 5249)
@@ -57720,8 +57720,16 @@
 
   <h5>Other link types</h5>
 
-  <p><dfn title="concept-rel-extensions">Extensions to the predefined
-  set of link types</dfn> may be registered in the <a
+  <p>There are currently two proposed mechanisms for registrying <dfn
+  title="concept-rel-extensions">extensions to the predefined set of
+  link types</dfn>. This specification describes both currently. One
+  of these will likely be removed in the future.</p>
+
+
+  <h6>WHATWG Wiki</h6>
+
+  <p><span title="concept-rel-extensions">Extensions to the predefined
+  set of link types</span> may be registered in the <a
   href="http://wiki.whatwg.org/wiki/RelExtensions">WHATWG Wiki
   RelExtensions page</a>. <a
   href="#refsWHATWGWIKI">[WHATWGWIKI]</a></p>
@@ -57754,10 +57762,10 @@
 
     <dl>
 
-     <dt>not allowed</dt>
+     <dt>Not allowed</dt>
 
-     <dd>The keyword is not allowed to be specified on
-     <code>link</code> elements.</dd>
+     <dd>The keyword must not be specified on <code>link</code>
+     elements.</dd>
 
      <dt>Hyperlink</dt>
 
@@ -57782,10 +57790,10 @@
 
     <dl>
 
-     <dt>not allowed</dt>
+     <dt>Not allowed</dt>
 
-     <dd>The keyword is not allowed to be specified on <code>a</code>
-     and <code>area</code> elements.</dd>
+     <dd>The keyword must not be specified on <code>a</code> and
+     <code>area</code> elements.</dd>
 
      <dt>Hyperlink</dt>
 
@@ -57916,6 +57924,122 @@
   href="#refsWHATWGWIKI">[WHATWGWIKI]</a></p>
 
 
+  <h6>IANA Registry</h6>
+
+  <p><span title="concept-rel-extensions">Extensions to the predefined
+  set of link types</span> may be registered in the Link Relation Type
+  Registry. <a href="#refsIANALINKTYPE">[IANALINKTYPE]</a></p>
+
+  <p>Directions on registrying new types are not provided in this
+  specification, but are available from the IETF. <a
+  href="#refsWEBLINK">[WEBLINK]</a></p>
+
+  <p>This specification defines the following fields that are used to
+  define how link types registered in the above registry interact with
+  this specification.</p>
+
+  <dl>
+
+   <dt>Effect on <code>link</code> elements</dt>
+
+   <dd>
+
+    <p>This field defines how conformance checkers are to treat the
+    link type when used with <code>link</code> elements, and defines
+    what the other attributes mean when used with the link type.</p>
+
+    <p>Allowed values:</p>
+
+    <dl>
+
+     <dt>Not allowed</dt>
+
+     <dd>Means that the keyword must not be specified on
+     <code>link</code> elements.</dd>
+
+     <dt>Hyperlink</dt>
+
+     <dd>Means that the keyword may be specified on a
+     <code>link</code> element; it creates a
+     <span>hyperlink</span>.</dd>
+
+     <dt>External Resource</dt>
+
+     <dd>Means that the keyword may be specified on a
+     <code>link</code> element; it creates an <span>external resource
+     link</span>.</dd>
+
+    </dl>
+
+   </dd>
+
+   <dt>Effect on <code>a</code> and <code>area</code> elements</dt>
+
+   <dd>
+
+    <p>This field defines how conformance checkers are to treat the
+    link type when used with <code>a</code> and <code>area</code>
+    elements, and defines what the other attributes mean when used
+    with the link type.</p>
+
+    <dl>
+
+     <dt>Not allowed</dt>
+
+     <dd>The keyword must not be specified on <code>a</code> and
+     <code>area</code> elements.</dd>
+
+     <dt>Hyperlink</dt>
+
+     <dd>The keyword may be specified on <code>a</code> and
+     <code>area</code> elements; it creates a
+     <span>hyperlink</span>.</dd>
+
+     <dt>External Resource</dt>
+
+     <dd>The keyword may be specified on a <code>a</code> and
+     <code>area</code> elements; it creates an <span>external resource
+     link</span>.</dd>
+
+     <dt>Hyperlink Annotation</dt>
+
+     <dd>The keyword may be specified on a <code>a</code> and
+     <code>area</code> elements; it <span title="hyperlink
+     annotation">annotates</span> other <span
+     title="hyperlink">hyperlinks</span> created by the element.</dd>
+
+    </dl>
+
+   </dd>
+
+  </dl>
+
+  <div class="impl">
+
+  <p>Conformance checkers must use the information given in the Link
+  Relation Type Registry to establish if a link type keyword is
+  allowed or not: values defined in this specification or listed in
+  that registry must be accepted when used on the elements for which
+  they apply as described in the "Effect on..." fields, whereas values
+  not listed in either this specification or in the aforementioned
+  registry must be rejected as invalid. <a
+  href="#refsIANALINKTYPE">[IANALINKTYPE]</a></p>
+
+  <p>When an author uses a new type not defined by either this
+  specification or the registry, conformance checkers should offer to
+  add the value to the registry, in a manner consistent with the
+  requirements of the Web Linking specification. <a
+  href="#refsWEBLINK">[WEBLINK]</a></p>
+
+  </div>
+
+  <p>Link types defined in the Link Relation Type Registry may be used
+  with the <code title="">rel</code> attribute on <code>link</code>,
+  <code>a</code>, and <code>area</code> elements in accordance to the
+  "Effect on..." fields. <a
+  href="#refsIANALINKTYPE">[IANALINKTYPE]</a></p>
+
+
   <h3>Common idioms without dedicated elements</h3>
 
   <h4>The main part of the content</h4>
@@ -108301,6 +108425,11 @@
    href="http://www.iana.org/assignments/character-sets">Character
    Sets</a></cite>. IANA.</dd>
 
+   <dt id="refsIANALINKTYPE">[IANALINKTYPE]</dt>
+   <dd><cite><a
+   href="http://www.iana.org/assignments/link-relations">Link
+   Relations</a></cite>. IANA.</dd>
+
    <dt id="refsIANAPERMHEADERS">[IANAPERMHEADERS]</dt>
    <dd><cite><a
    href="http://www.iana.org/assignments/message-headers/perm-headers.html">Permanent

|