Skip to content

Commit

Permalink
Clarify the link types process
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 26, 2020
1 parent ea6b0ca commit 6af9722
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -22726,19 +22726,6 @@ document.body.appendChild(wbr);</code></pre>
data-x="concept-supported-tokens">supported tokens</span> must only include the tokens from this
list that the user agent implements the processing model for.</p>

<p>Other specifications may add <a href="#linkTypes">HTML link types</a> as defined in <a
href="#other-link-types">Other link types</a>, with the following additional requirements:</p>

<ul>

<li>Such specifications may require that their link types be included in <code
data-x="attr-link-rel">rel</code>'s <span data-x="concept-supported-tokens">supported
tokens</span>.</li>

<li>Such specifications may specify that their link types are <span>body-ok</span>.</li>

</ul>

<p>The <code data-x="attr-hyperlink-rel">rel</code> attribute has no default value. If the
attribute is omitted or if none of the values in the attribute are recognized by the user agent,
then the document has no particular relationship with the destination resource other than there
Expand Down Expand Up @@ -23780,17 +23767,18 @@ document.body.appendChild(wbr);</code></pre>
data-x="">rel="NEXT"</code>.</p>

<p>Keywords that are <dfn>body-ok</dfn> affect whether <code>link</code> elements are
<span>allowed in the body</span>. The <span>body-ok</span> keywords defined by this specification
are
<span>allowed in the body</span>. The <span>body-ok</span> keywords are
<code data-x="rel-dns-prefetch">dns-prefetch</code>,
<code data-x="rel-modulepreload">modulepreload</code>,
<code data-x="rel-pingback">pingback</code>,
<code data-x="rel-preconnect">preconnect</code>,
<code data-x="rel-prefetch">prefetch</code>,
<code data-x="rel-preload">preload</code>,
<code data-x="rel-prerender">prerender</code>, and
<code data-x="rel-stylesheet">stylesheet</code>.
Other specifications can also define <span>body-ok</span> keywords.</p>
<code data-x="rel-stylesheet">stylesheet</code>.</p>

<p>New link types that are to be implemented by web browsers are to be added to this standard. The
remainder can be <span data-x="concept-rel-extensions">registered as extensions</span>.</p>

<table class="yesno">
<thead>
Expand Down

0 comments on commit 6af9722

Please sign in to comment.