Permalink
Browse files

rel=search, rel=stylesheet placeholder, rel=prefetch

git-svn-id: http://svn.whatwg.org/webapps@345 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Nov 22, 2006
1 parent 1667e4f commit b7ac09fc5d0d31f6062e061360ded602fd5dcaee
Showing with 124 additions and 28 deletions.
  1. +90 −27 index
  2. +34 −1 source
117 index
@@ -723,35 +723,47 @@
type "<dfn id=pingback
title=rel-pingback><code>pingback</code></dfn>"</a>

<li><a href="#hierarchical"><span class=secno>4.5.3.13.
<li><a href="#link-type11"><span class=secno>4.5.3.13. </span>Link
type "<dfn id=prefetch
title=rel-prefetch><code>prefetch</code></dfn>"</a>

<li><a href="#link-type12"><span class=secno>4.5.3.14. </span>Link
type "<dfn id=search
title=rel-search><code>search</code></dfn>"</a>

<li><a href="#link-type13"><span class=secno>4.5.3.15. </span>Link
type "<dfn id=stylesheet
title=rel-stylesheet><code>stylesheet</code></dfn>"</a>

<li><a href="#hierarchical"><span class=secno>4.5.3.16.
</span>Hierarchical link types</a>
<ul class=toc>
<li><a href="#link-type11"><span class=secno>4.5.3.13.1.
<li><a href="#link-type14"><span class=secno>4.5.3.16.1.
</span>Link type "<dfn id=first
title=rel-first><code>first</code></dfn>"</a>

<li><a href="#link-type12"><span class=secno>4.5.3.13.2.
<li><a href="#link-type15"><span class=secno>4.5.3.16.2.
</span>Link type "<dfn id=index
title=rel-index><code>index</code></dfn>"</a>

<li><a href="#link-type13"><span class=secno>4.5.3.13.3.
<li><a href="#link-type16"><span class=secno>4.5.3.16.3.
</span>Link type "<dfn id=last
title=rel-last><code>last</code></dfn>"</a>

<li><a href="#link-type14"><span class=secno>4.5.3.13.4.
<li><a href="#link-type17"><span class=secno>4.5.3.16.4.
</span>Link type "<dfn id=next
title=rel-next><code>next</code></dfn>"</a>

<li><a href="#link-type15"><span class=secno>4.5.3.13.5.
<li><a href="#link-type18"><span class=secno>4.5.3.16.5.
</span>Link type "<dfn id=prev
title=rel-prev><code>prev</code></dfn>"</a>

<li><a href="#link-type16"><span class=secno>4.5.3.13.6.
<li><a href="#link-type19"><span class=secno>4.5.3.16.6.
</span>Link type "<dfn id=up
title=rel-up><code>up</code></dfn>"</a>
</ul>

<li><a href="#other"><span class=secno>4.5.3.14. </span>Other link
<li><a href="#other"><span class=secno>4.5.3.17. </span>Other link
types</a>
</ul>

@@ -15031,7 +15043,7 @@ XXX selection ranges -->
the current document.

<tr>
<td><code title=rel-prefetch>prefetch</code>
<td><code title=rel-prefetch><a href="#prefetch0">prefetch</a></code>

<td><a href="#links1" title="external resource link">External
Resource</a>
@@ -15052,7 +15064,7 @@ XXX selection ranges -->
the previous document in the series is the referenced document.

<tr>
<td><code title=rel-search>search</code></td>
<td><code title=rel-search><a href="#search0">search</a></code></td>
<!-- used quite a bit -->

<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>
@@ -15063,7 +15075,8 @@ XXX selection ranges -->
current document and its related pages.

<tr>
<td><code title=rel-stylesheet>stylesheet</code></td>
<td><code title=rel-stylesheet><a
href="#stylesheet0">stylesheet</a></code></td>
<!-- most commonly used <link rel> value, variants came in 7th, 8th, 12th, 17th... -->

<td><a href="#links1" title="external resource link">External
@@ -15118,14 +15131,15 @@ XXX selection ranges -->
href="#a0">a</a></code>, and <code><a href="#area0">area</a></code>
elements. For <code><a href="#link0">link</a></code> elements, if the
<code title=attr-link-rel><a href="#rel">rel</a></code> attribute does not
also contains the keyword <code title=rel-stylesheet>stylesheet</code>, it
creates a <a href="#hyperlink0" title="hyperlink link">hyperlink</a>; but
if it <em>does</em> also contains the keyword <code
title=rel-stylesheet>stylesheet</code>, the <code title=rel-alternate><a
href="#alternate0">alternate</a></code> keyword instead modifies the
meaning of the <code title=rel-stylesheet>stylesheet</code> keyword in the
way described for that keyword, and the rest of this subsection doesn't
apply.
also contains the keyword <code title=rel-stylesheet><a
href="#stylesheet0">stylesheet</a></code>, it creates a <a
href="#hyperlink0" title="hyperlink link">hyperlink</a>; but if it
<em>does</em> also contains the keyword <code title=rel-stylesheet><a
href="#stylesheet0">stylesheet</a></code>, the <code
title=rel-alternate><a href="#alternate0">alternate</a></code> keyword
instead modifies the meaning of the <code title=rel-stylesheet><a
href="#stylesheet0">stylesheet</a></code> keyword in the way described for
that keyword, and the rest of this subsection doesn't apply.

<p>The <code title=rel-alternate><a href="#alternate0">alternate</a></code>
keyword indicates that the referenced document is an alternate
@@ -15411,7 +15425,56 @@ XXX selection ranges -->
href="#pingback0">pingback</a></code> keyword, see the Pingback 1.0
specification. <a href="#refsPINGBACK">[PINGBACK]</a>

<h5 id=hierarchical><span class=secno>4.5.3.13. </span>Hierarchical link
<h5 id=link-type11><span class=secno>4.5.3.13. </span>Link type "<dfn
id=prefetch0 title=rel-prefetch><code>prefetch</code></dfn>"</h5>

<p>The <code title=rel-prefetch><a href="#prefetch0">prefetch</a></code>
keyword may be used with <code><a href="#link0">link</a></code> elements,
for which it creates an <a href="#links1" title="external resource
link">external resource link</a>.

<p>The <code title=rel-prefetch><a href="#prefetch0">prefetch</a></code>
keyword indicates that preemptively fetching and caching the specified
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.5.3.14. </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
may be used with <code><a href="#link0">link</a></code>, <code><a
href="#a0">a</a></code>, and <code><a href="#area0">area</a></code>
elements. For <code><a href="#link0">link</a></code> elements, it creates
a <a href="#hyperlink0" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-search><a href="#search0">search</a></code> keyword
indicates that the referenced document provides an interface specifically
for searching the document and its related resources.

<h5 id=link-type13><span class=secno>4.5.3.15. </span>Link type "<dfn
id=stylesheet0 title=rel-stylesheet><code>stylesheet</code></dfn>"</h5>

<p>The <code title=rel-stylesheet><a
href="#stylesheet0">stylesheet</a></code> keyword may be used with
<code><a href="#link0">link</a></code> elements, for which it creates an
<a href="#links1" title="external resource link">external resource
link</a>.

<p>The specified resource is a resource that describes how to present the
document. Exactly how the resource is to be processed depends on the
actual type of the resource.

<p>If the <code title=rel-alternate><a
href="#alternate0">alternate</a></code> keyword is also specified on the
<code><a href="#link0">link</a></code> element, then the link is an
alternate stylesheet.

<p class=big-issue>Need more here -- defining preferred stylesheets,
alternate stylesheets, persistent stylesheets, and the stuff about the
alternate stylesheet API. Maybe this should all be deferred to another
processing model section.

<h5 id=hierarchical><span class=secno>4.5.3.16. </span>Hierarchical link
types</h5>

<p>Some documents form part of a hierarchical structure of documents.
@@ -15424,7 +15487,7 @@ XXX selection ranges -->
<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-type11><span class=secno>4.5.3.13.1. </span>Link type "<dfn
<h6 id=link-type14><span class=secno>4.5.3.16.1. </span>Link type "<dfn
id=first0 title=rel-first><code>first</code></dfn>"</h6>

<p>The <code title=rel-first><a href="#first0">first</a></code> keyword may
@@ -15443,7 +15506,7 @@ XXX selection ranges -->
title="">start</code>" like the <code title=rel-first><a
href="#first0">first</a></code> keyword.

<h6 id=link-type12><span class=secno>4.5.3.13.2. </span>Link type "<dfn
<h6 id=link-type15><span class=secno>4.5.3.16.2. </span>Link type "<dfn
id=index0 title=rel-index><code>index</code></dfn>"</h6>

<p>The <code title=rel-index><a href="#index0">index</a></code> keyword may
@@ -15461,7 +15524,7 @@ XXX selection ranges -->
title="">contents</code>", and "<code title="">toc</code>" like the <code
title=rel-index><a href="#index0">index</a></code> keyword.

<h6 id=link-type13><span class=secno>4.5.3.13.3. </span>Link type "<dfn
<h6 id=link-type16><span class=secno>4.5.3.16.3. </span>Link type "<dfn
id=last0 title=rel-last><code>last</code></dfn>"</h6>

<p>The <code title=rel-last><a href="#last0">last</a></code> keyword may be
@@ -15479,7 +15542,7 @@ XXX selection ranges -->
treat the keyword "<code title="">end</code>" like the <code
title=rel-last><a href="#last0">last</a></code> keyword.

<h6 id=link-type14><span class=secno>4.5.3.13.4. </span>Link type "<dfn
<h6 id=link-type17><span class=secno>4.5.3.16.4. </span>Link type "<dfn
id=next0 title=rel-next><code>next</code></dfn>"</h6>

<p>The <code title=rel-next><a href="#next0">next</a></code> keyword may be
@@ -15493,7 +15556,7 @@ XXX selection ranges -->
the link is leading to the document that is the next sibling of the
current document.

<h6 id=link-type15><span class=secno>4.5.3.13.5. </span>Link type "<dfn
<h6 id=link-type18><span class=secno>4.5.3.16.5. </span>Link type "<dfn
id=prev0 title=rel-prev><code>prev</code></dfn>"</h6>

<p>The <code title=rel-prev><a href="#prev0">prev</a></code> keyword may be
@@ -15511,7 +15574,7 @@ XXX selection ranges -->
treat the keyword "<code title="">previous</code>" like the <code
title=rel-prev><a href="#prev0">prev</a></code> keyword.

<h6 id=link-type16><span class=secno>4.5.3.13.6. </span>Link type "<dfn
<h6 id=link-type19><span class=secno>4.5.3.16.6. </span>Link type "<dfn
id=up0 title=rel-up><code>up</code></dfn>"</h6>

<p>The <code title=rel-up><a href="#up0">up</a></code> keyword may be used
@@ -15577,7 +15640,7 @@ disallow: http://microformats.org/wiki/rel-enclosure

-->

<h5 id=other><span class=secno>4.5.3.14. </span>Other link types</h5>
<h5 id=other><span class=secno>4.5.3.17. </span>Other link types</h5>

<p class=big-issue>Address extensibility.

35 source
@@ -13579,9 +13579,42 @@ XXX selection ranges -->
title="external resource link">external resource link</span>.</p>

<p>The <code title="rel-prefetch">prefetch</code> keyword indicates
that the specified resource
that preemptively fetching and caching the specified resource is
likely to be beneficial, as it is highly likely that the user will
require this resource.</p>


<h5>Link type "<dfn title="rel-search"><code>search</code></dfn>"</h5>

<p>The <code title="rel-search">search</code> keyword may be used
with <code>link</code>, <code>a</code>, and <code>area</code>
elements. For <code>link</code> elements, it creates a <span
title="hyperlink link">hyperlink</span>.</p>

<p>The <code title="rel-search">search</code> keyword indicates that
the referenced document provides an interface specifically for
searching the document and its related resources.</p>


<h5>Link type "<dfn title="rel-stylesheet"><code>stylesheet</code></dfn>"</h5>

<p>The <code title="rel-stylesheet">stylesheet</code> keyword may be
used with <code>link</code> elements, for which it creates an <span
title="external resource link">external resource link</span>.</p>

<p>The specified resource is a resource that describes how to
present the document. Exactly how the resource is to be processed
depends on the actual type of the resource.</p>

<p>If the <code title="rel-alternate">alternate</code> keyword is
also specified on the <code>link</code> element, then the link is an
alternate stylesheet.</p>

<p class="big-issue">Need more here -- defining preferred
stylesheets, alternate stylesheets, persistent stylesheets, and the
stuff about the alternate stylesheet API. Maybe this should all be
deferred to another processing model section.</p>


<h5>Hierarchical link types</h5>

0 comments on commit b7ac09f

Please sign in to comment.