Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Split the first/last/next/last types from the up/index types.
git-svn-id: http://svn.whatwg.org/webapps@1128 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 5, 2007
1 parent df4ca78 commit 9195baf
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 147 deletions.
180 changes: 98 additions & 82 deletions index
Expand Up @@ -1308,25 +1308,29 @@
</span>Hierarchical link types</a>
<ul class=toc>
<li><a href="#link-type17"><span class=secno>4.12.3.19.1.
</span>Link type "<code>first</code>"</a>
</span>Link type "<code>index</code>"</a>

<li><a href="#link-type18"><span class=secno>4.12.3.19.2.
</span>Link type "<code>index</code>"</a>
</span>Link type "<code>up</code>"</a>
</ul>

<li><a href="#link-type19"><span class=secno>4.12.3.19.3.
<li><a href="#sequential0"><span class=secno>4.12.3.20.
</span>Sequential link types</a>
<ul class=toc>
<li><a href="#link-type19"><span class=secno>4.12.3.20.1.
</span>Link type "<code>first</code>"</a>

<li><a href="#link-type20"><span class=secno>4.12.3.20.2.
</span>Link type "<code>last</code>"</a>

<li><a href="#link-type20"><span class=secno>4.12.3.19.4.
<li><a href="#link-type21"><span class=secno>4.12.3.20.3.
</span>Link type "<code>next</code>"</a>

<li><a href="#link-type21"><span class=secno>4.12.3.19.5.
<li><a href="#link-type22"><span class=secno>4.12.3.20.4.
</span>Link type "<code>prev</code>"</a>

<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.20. </span>Other link
<li><a href="#other0"><span class=secno>4.12.3.21. </span>Other link
types</a>
</ul>
</ul>
Expand Down Expand Up @@ -32054,31 +32058,12 @@ at the first element with the given ID must be treated as if it was cloned and r
<p>A hierarchical structure of documents is one where each document can
have various subdocuments. A subdocument is said to be a <em>child</em> of
the document it is a subdocument of. The document of which it is a
subdocument is said to be its <em>parent</em>. The children of a document
have a relative order; the subdocument that precedes another is its
<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-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
be used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.
subdocument is said to be its <em>parent</em>. A document with no parent
forms the top of the hierarchy.

<p>The <code title=rel-first><a href="#first">first</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the first logical document in the
sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keywords "<code title="">begin</code>" and "<code
title="">start</code>" like the <code title=rel-first><a
href="#first">first</a></code> keyword.
<p>A document may be part of multiple hierarchies.

<h6 id=link-type18><span class=secno>4.12.3.19.2. </span>Link type "<dfn
<h6 id=link-type17><span class=secno>4.12.3.19.1. </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
Expand All @@ -32098,55 +32083,7 @@ at the first element with the given ID must be treated as if it was cloned and r
title="">contents</code>", and "<code title="">toc</code>" like the <code
title=rel-index><a href="#index">index</a></code> keyword.

<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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-last><a href="#last">last</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the last logical document in the sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keyword "<code title="">end</code>" like the <code
title=rel-last><a href="#last">last</a></code> keyword.

<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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-next><a href="#next">next</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the next logical document in the sequence.

<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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-prev><a href="#prev">prev</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the previous logical document in the
sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keyword "<code title="">previous</code>" like the <code
title=rel-prev><a href="#prev">prev</a></code> keyword.

<h6 id=link-type22><span class=secno>4.12.3.19.6. </span>Link type "<dfn
<h6 id=link-type18><span class=secno>4.12.3.19.2. </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
Expand Down Expand Up @@ -32205,7 +32142,86 @@ at the first element with the given ID must be treated as if it was cloned and r
&lt;/nav></pre>
</div>

<h5 id=other0><span class=secno>4.12.3.20. </span>Other link types</h5>
<h5 id=sequential0><span class=secno>4.12.3.20. </span>Sequential link
types</h5>

<p>Some documents form part of a sequence of documents.

<p>A sequence of documents is one where each document can have a
<em>previous sibling</em> and a <em>next sibling</em>. A document with no
previous sibling is the start of the sequence, a document with no next
sibling is the end of the a sequence.

<p>A document may be part of multiple sequences.

<h6 id=link-type19><span class=secno>4.12.3.20.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
be used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-first><a href="#first">first</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the first logical document in the
sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keywords "<code title="">begin</code>" and "<code
title="">start</code>" like the <code title=rel-first><a
href="#first">first</a></code> keyword.

<h6 id=link-type20><span class=secno>4.12.3.20.2. </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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-last><a href="#last">last</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the last logical document in the sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keyword "<code title="">end</code>" like the <code
title=rel-last><a href="#last">last</a></code> keyword.

<h6 id=link-type21><span class=secno>4.12.3.20.3. </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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-next><a href="#next">next</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the next logical document in the sequence.

<h6 id=link-type22><span class=secno>4.12.3.20.4. </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
used with <code><a href="#link">link</a></code>, <code><a
href="#a">a</a></code>, and <code><a href="#area">area</a></code>
elements. For <code><a href="#link">link</a></code> elements, it creates a
<a href="#hyperlink1" title="hyperlink link">hyperlink</a>.

<p>The <code title=rel-prev><a href="#prev">prev</a></code> keyword
indicates that the document is part of a sequence, and that the link is
leading to the document that is the previous logical document in the
sequence.

<p><strong>Synonyms</strong>: For historical reasons, user agents must also
treat the keyword "<code title="">previous</code>" like the <code
title=rel-prev><a href="#prev">prev</a></code> keyword.

<h5 id=other0><span class=secno>4.12.3.21. </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
Expand Down
142 changes: 77 additions & 65 deletions source
Expand Up @@ -29525,28 +29525,10 @@ at the first element with the given ID must be treated as if it was cloned and r
<p>A hierarchical structure of documents is one where each document
can have various subdocuments. A subdocument is said to be a
<em>child</em> of the document it is a subdocument of. The document
of which it is a subdocument is said to be its <em>parent</em>. The
children of a document have a relative order; the subdocument that
precedes another is its <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.</p>
of which it is a subdocument is said to be its <em>parent</em>. A
document with no parent forms the top of the hierarchy.</p>


<h6>Link type "<dfn title="rel-first"><code>first</code></dfn>"</h6>

<p>The <code title="rel-first">first</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-first">first</code> keyword indicates that
the document is part of a sequence, and that the link is leading to
the document that is the first logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keywords "<code title="">begin</code>" and
"<code title="">start</code>" like the <code
title="rel-first">first</code> keyword.</p>
<p>A document may be part of multiple hierarchies.</p>


<h6>Link type "<dfn title="rel-index"><code>index</code></dfn>"</h6>
Expand All @@ -29568,50 +29550,6 @@ at the first element with the given ID must be treated as if it was cloned and r
<code title="rel-index">index</code> keyword.</p>


<h6>Link type "<dfn title="rel-last"><code>last</code></dfn>"</h6>

<p>The <code title="rel-last">last</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-last">last</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the last logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keyword "<code title="">end</code>" like the
<code title="rel-last">last</code> keyword.</p>


<h6>Link type "<dfn title="rel-next"><code>next</code></dfn>"</h6>

<p>The <code title="rel-next">next</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-next">next</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the next logical document in the sequence.</p>


<h6>Link type "<dfn title="rel-prev"><code>prev</code></dfn>"</h6>

<p>The <code title="rel-prev">prev</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-prev">prev</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the previous logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keyword "<code title="">previous</code>" like
the <code title="rel-prev">prev</code> keyword.</p>


<h6>Link type "<dfn title="rel-up"><code>up</code></dfn>"</h6>

<p>The <code title="rel-up">up</code> keyword may be used with
Expand Down Expand Up @@ -29670,6 +29608,80 @@ at the first element with the given ID must be treated as if it was cloned and r

</div>


<h5>Sequential link types</h5>

<p>Some documents form part of a sequence of documents.</p>

<p>A sequence of documents is one where each document can have a
<em>previous sibling</em> and a <em>next sibling</em>. A document
with no previous sibling is the start of the sequence, a document
with no next sibling is the end of the a sequence.</p>

<p>A document may be part of multiple sequences.</p>


<h6>Link type "<dfn title="rel-first"><code>first</code></dfn>"</h6>

<p>The <code title="rel-first">first</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-first">first</code> keyword indicates that
the document is part of a sequence, and that the link is leading to
the document that is the first logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keywords "<code title="">begin</code>" and
"<code title="">start</code>" like the <code
title="rel-first">first</code> keyword.</p>


<h6>Link type "<dfn title="rel-last"><code>last</code></dfn>"</h6>

<p>The <code title="rel-last">last</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-last">last</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the last logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keyword "<code title="">end</code>" like the
<code title="rel-last">last</code> keyword.</p>


<h6>Link type "<dfn title="rel-next"><code>next</code></dfn>"</h6>

<p>The <code title="rel-next">next</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-next">next</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the next logical document in the sequence.</p>


<h6>Link type "<dfn title="rel-prev"><code>prev</code></dfn>"</h6>

<p>The <code title="rel-prev">prev</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-prev">prev</code> keyword indicates that the
document is part of a sequence, and that the link is leading to the
document that is the previous logical document in the sequence.</p>

<p><strong>Synonyms</strong>: For historical reasons, user agents
must also treat the keyword "<code title="">previous</code>" like
the <code title="rel-prev">prev</code> keyword.</p>


<h5>Other link types</h5>

<p>Other than the types defined above, only types defined as
Expand Down

0 comments on commit 9195baf

Please sign in to comment.