Skip to content

Commit

Permalink
Editorial: re-sort rel=noopener & rel=noreferrer
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored and annevk committed Apr 7, 2017
1 parent 2c997f4 commit 7915184
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -23245,19 +23245,19 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
</tr>

<tr>
<td><code data-x="rel-noreferrer">noreferrer</code></td>
<td><code data-x="rel-noopener">noopener</code></td>
<td><em>not allowed</em></td>
<td><span data-x="hyperlink annotation">Annotation</span></td>
<td class="no"> &middot; </td>
<td>Requires that the user agent not send an HTTP `<code data-x="http-referer">Referer</code>` (sic) header if the user follows the hyperlink.</td>
<td>Requires any <span>browsing context</span> created by following the hyperlink to <span data-x="disowned its opener">disown its opener</span>.</td>
</tr>

<tr>
<td><code data-x="rel-noopener">noopener</code></td>
<td><code data-x="rel-noreferrer">noreferrer</code></td>
<td><em>not allowed</em></td>
<td><span data-x="hyperlink annotation">Annotation</span></td>
<td class="no"> &middot; </td>
<td>Requires any <span>browsing context</span> created by following the hyperlink to <span data-x="disowned its opener">disown its opener</span>.</td>
<td>Requires that the user agent not send an HTTP `<code data-x="http-referer">Referer</code>` (sic) header if the user follows the hyperlink.</td>
</tr>

<tr>
Expand Down Expand Up @@ -23823,6 +23823,19 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
pages.</p>


<h5>Link type "<dfn><code data-x="rel-noopener">noopener</code></dfn>"</h5>

<p>The <code data-x="rel-noopener">noopener</code> keyword may be used with <code>a</code> and
<code>area</code> elements. This keyword does not create a <span>hyperlink</span>, but <span
data-x="hyperlink annotation">annotates</span> any other hyperlinks created by the element (the
implied hyperlink, if no other keywords create one).</p>

<p>The keyword indicates that any newly created <span>browsing context</span> which results from
following the <span>hyperlink</span> will have <span>disowned its opener</span>, which means that
its <code data-x="dom-opener">window.opener</code> property will be <code
data-x="">null</code>.</p>


<h5>Link type "<dfn><code data-x="rel-noreferrer">noreferrer</code></dfn>"</h5>

<p>The <code data-x="rel-noreferrer">noreferrer</code> keyword may be used with <code>a</code> and
Expand Down Expand Up @@ -23851,18 +23864,6 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
<!-- v2: Would be nice to apply this to other elements too, e.g. letting <img> or CSS or <video>
hide the referrer -->

<h5>Link type "<dfn><code data-x="rel-noopener">noopener</code></dfn>"</h5>

<p>The <code data-x="rel-noopener">noopener</code> keyword may be used with <code>a</code> and
<code>area</code> elements. This keyword does not create a <span>hyperlink</span>, but <span
data-x="hyperlink annotation">annotates</span> any other hyperlinks created by the element (the
implied hyperlink, if no other keywords create one).</p>

<p>The keyword indicates that any newly created <span>browsing context</span> which results from
following the <span>hyperlink</span> will have <span>disowned its opener</span>, which means that
its <code data-x="dom-opener">window.opener</code> property will be <code
data-x="">null</code>.</p>

<h5>Link type "<dfn><code data-x="rel-pingback">pingback</code></dfn>"</h5>

<p>The <code data-x="rel-pingback">pingback</code> keyword may be used with <code>link</code>
Expand Down

0 comments on commit 7915184

Please sign in to comment.