Permalink
Browse files

[] (0) Clarify the activation behaviour of <link> elements.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8222 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Oct 15, 2013
1 parent a89cfc7 commit 7df9ae824869ecace668cdc86213745bdb4dda10
Showing with 35 additions and 10 deletions.
  1. +10 −4 complete.html
  2. +10 −4 index
  3. +15 −2 source
@@ -256,7 +256,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 October 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 October 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -12901,9 +12901,15 @@ <h4 id=the-link-element><span class=secno>4.2.4 </span>The <dfn><code>link</code

<div class=impl>

<!--!--><!-- s/header fields/headers/ for consistency with the rest of the spec -->
<p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-link-element>link</a></code> elements that create <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run the following steps:</p>

<p>HTTP <code title=http-link>Link:</code> header fields, if supported, must be assumed to come
<ol><!-- c.f. <a> and <area>'s similar sections --><li><p>If the <code><a href=#the-link-element>link</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>,
then abort these steps.</li>

<li><p><a href=#following-hyperlinks title="following hyperlinks">Follow the hyperlink</a> created by the
<code><a href=#the-link-element>link</a></code> element.</li>

</ol><!--CLEANUP--><!-- s/header fields/headers/ for consistency with the rest of the spec --><p>HTTP <code title=http-link>Link:</code> header fields, if supported, must be assumed to come
before any links in the document, in the order that they were given in the HTTP message. These
header fields are to be processed according to the rules given in the relevant specifications. <a href=#refsHTTP>[HTTP]</a> <a href=#refsWEBLINK>[WEBLINK]</a></p> <!-- WEBLINK is ref for Link:
header -->
@@ -19245,7 +19251,7 @@ <h4 id=the-a-element><span class=secno>4.6.1 </span>The <dfn><code>a</code></dfn

<p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-a-element>a</a></code> elements that create <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run the following steps:</p>

<ol><!-- c.f. <area>'s similar section --><li><p>If the <code><a href=#the-a-element>a</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, then abort these steps.</li>
<ol><!-- c.f. <area>'s similar section, also <link>'s --><li><p>If the <code><a href=#the-a-element>a</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, then abort these steps.</li>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2033 -->
<!-- http://www.hixie.ch/tests/adhoc/html/navigation/iframe/002.html -->

14 index
@@ -256,7 +256,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 October 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 October 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -12901,9 +12901,15 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p&gt;

<div class=impl>

<!--!--><!-- s/header fields/headers/ for consistency with the rest of the spec -->
<p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-link-element>link</a></code> elements that create <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run the following steps:</p>

<p>HTTP <code title=http-link>Link:</code> header fields, if supported, must be assumed to come
<ol><!-- c.f. <a> and <area>'s similar sections --><li><p>If the <code><a href=#the-link-element>link</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>,
then abort these steps.</li>

<li><p><a href=#following-hyperlinks title="following hyperlinks">Follow the hyperlink</a> created by the
<code><a href=#the-link-element>link</a></code> element.</li>

</ol><!--CLEANUP--><!-- s/header fields/headers/ for consistency with the rest of the spec --><p>HTTP <code title=http-link>Link:</code> header fields, if supported, must be assumed to come
before any links in the document, in the order that they were given in the HTTP message. These
header fields are to be processed according to the rules given in the relevant specifications. <a href=#refsHTTP>[HTTP]</a> <a href=#refsWEBLINK>[WEBLINK]</a></p> <!-- WEBLINK is ref for Link:
header -->
@@ -19245,7 +19251,7 @@ included with Exhibit B.

<p>The <a href=#activation-behavior>activation behavior</a> of <code><a href=#the-a-element>a</a></code> elements that create <a href=#hyperlink title=hyperlink>hyperlinks</a> is to run the following steps:</p>

<ol><!-- c.f. <area>'s similar section --><li><p>If the <code><a href=#the-a-element>a</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, then abort these steps.</li>
<ol><!-- c.f. <area>'s similar section, also <link>'s --><li><p>If the <code><a href=#the-a-element>a</a></code> element's <code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, then abort these steps.</li>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2033 -->
<!-- http://www.hixie.ch/tests/adhoc/html/navigation/iframe/002.html -->

17 source
@@ -13189,7 +13189,20 @@ gave me some of the songs they wrote. I love sharing my music.&lt;/p>

<div class="impl">

<!--!--><!-- s/header fields/headers/ for consistency with the rest of the spec -->
<p>The <span>activation behavior</span> of <code>link</code> elements that create <span
title="hyperlink">hyperlinks</span> is to run the following steps:</p>

<ol><!-- c.f. <a> and <area>'s similar sections -->

<li><p>If the <code>link</code> element's <code>Document</code> is not <span>fully active</span>,
then abort these steps.</p></li>

<li><p><span title="following hyperlinks">Follow the hyperlink</span> created by the
<code>link</code> element.</p></li>

</ol>

<!--CLEANUP--><!-- s/header fields/headers/ for consistency with the rest of the spec -->

<p>HTTP <code title="http-link">Link:</code> header fields, if supported, must be assumed to come
before any links in the document, in the order that they were given in the HTTP message. These
@@ -20055,7 +20068,7 @@ included with Exhibit B.
<p>The <span>activation behavior</span> of <code>a</code> elements that create <span
title="hyperlink">hyperlinks</span> is to run the following steps:</p>

<ol><!-- c.f. <area>'s similar section -->
<ol><!-- c.f. <area>'s similar section, also <link>'s -->

<li><p>If the <code>a</code> element's <code>Document</code> is not <span>fully active</span>, then abort these steps.</p></li>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2033 -->

0 comments on commit 7df9ae8

Please sign in to comment.