Navigation Menu

Skip to content

Commit

Permalink
rewrite the top of the 'alternate' definition to say that it creates …
Browse files Browse the repository at this point in the history
…a hyperlink

git-svn-id: http://svn.whatwg.org/webapps@325 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 22, 2006
1 parent d9d5bca commit bd1a994
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 22 deletions.
32 changes: 20 additions & 12 deletions index
Expand Up @@ -15035,18 +15035,26 @@ XXX selection ranges -->
<h4 id=link-type><span class=secno>4.5.4. </span>Link type "<dfn
id=alternate0 title=rel-alternate><code>alternate</code></dfn>"</h4>

<p>On the <code><a href="#link0">link</a></code> element, if the the <code
title=attr-link-rel><a href="#rel">rel</a></code> attribute also contains
the keyword <code title=rel-stylesheet>stylesheet</code>, the <code
title=rel-alternate><a href="#alternate0">alternate</a></code> keyword
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.

<p>Otherwise, the <code title=rel-alternate><a
href="#alternate0">alternate</a></code> keyword indicates that the
referenced document is an alternate representation of the current
document.
<p>The <code title=rel-alternate><a href="#alternate0">alternate</a></code>
keyword can 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, if the 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>.

<p>On the <code><a href="#link0">link</a></code> element, if the <code
title=attr-link-rel><a href="#rel">rel</a></code> attribute <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 modifies the meaning of the <code
title=rel-stylesheet>stylesheet</code> keyword in the way described for
that keyword instead of creating a <a href="#hyperlink0" title="hyperlink
link">hyperlink</a>, 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
representation of the current document.

<p>The nature of the target document is given by the <code
title=attr-hyperlink-media><a href="#media5">media</a></code>, <code
Expand Down
28 changes: 18 additions & 10 deletions source
Expand Up @@ -13290,16 +13290,24 @@ XXX selection ranges -->

<h4>Link type "<dfn title="rel-alternate"><code>alternate</code></dfn>"</h4>

<p>On the <code>link</code> element, if the the <code
title="attr-link-rel">rel</code> attribute also contains the keyword
<code title="rel-stylesheet">stylesheet</code>, the <code
title="rel-alternate">alternate</code> keyword 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.</p>

<p>Otherwise, the <code title="rel-alternate">alternate</code>
keyword indicates that the referenced document is an alternate
<p>The <code title="rel-alternate">alternate</code> keyword can be
used with <code>link</code>, <code>a</code>, and <code>area</code>
elements. For <code>link</code> elements, if the the <code
title="attr-link-rel">rel</code> attribute does not also contains
the keyword <code title="rel-stylesheet">stylesheet</code>, it
creates a <span title="hyperlink link">hyperlink</span>.</p>

<p>On the <code>link</code> element, if the <code
title="attr-link-rel">rel</code> attribute <em>does</em> also
contains the keyword <code title="rel-stylesheet">stylesheet</code>,
the <code title="rel-alternate">alternate</code> keyword modifies
the meaning of the <code title="rel-stylesheet">stylesheet</code>
keyword in the way described for that keyword instead of creating a
<span title="hyperlink link">hyperlink</span>, and the rest of this
subsection doesn't apply.</p>

<p>The <code title="rel-alternate">alternate</code> keyword
indicates that the referenced document is an alternate
representation of the current document.</p>

<p>The nature of the target document is given by the <code
Expand Down

0 comments on commit bd1a994

Please sign in to comment.