@@ -22628,16 +22628,15 @@ document.body.appendChild(wbr);</code></pre>
22628
22628
<span>unordered set of unique space-separated tokens</span>. The <a href="#linkTypes">allowed
22629
22629
keywords and their meanings</a> are defined below.</p>
22630
22630
22631
- <p><code data-x="attr-hyperlink-rel">rel</code>'s
22632
- <span data-x="concept-supported-tokens">supported tokens</span> are the keywords defined in
22633
- <a href="#linkTypes">HTML link types</a> which are allowed on <code>a</code> and
22634
- <code>area</code> elements, impact the processing model, and are supported by the user agent. The
22635
- possible <span data-x="concept-supported-tokens">supported tokens</span> are
22636
- <code data-x="rel-noreferrer">noreferrer</code> and
22637
- <code data-x="rel-noopener">noopener</code>.
22638
- <code data-x="attr-hyperlink-rel">rel</code>'s
22639
- <span data-x="concept-supported-tokens">supported tokens</span> must only include the tokens from
22640
- this list that the user agent implements the processing model for.</p>
22631
+ <p><code data-x="attr-hyperlink-rel">rel</code>'s <span
22632
+ data-x="concept-supported-tokens">supported tokens</span> are the keywords defined in <a
22633
+ href="#linkTypes">HTML link types</a> which are allowed on <code>a</code> and <code>area</code>
22634
+ elements, impact the processing model, and are supported by the user agent. The possible <span
22635
+ data-x="concept-supported-tokens">supported tokens</span> are <code
22636
+ data-x="rel-noreferrer">noreferrer</code>, <code data-x="rel-noopener">noopener</code>, and <code
22637
+ data-x="rel-opener">opener</code>. <code data-x="attr-hyperlink-rel">rel</code>'s <span
22638
+ data-x="concept-supported-tokens">supported tokens</span> must only include the tokens from this
22639
+ list that the user agent implements the processing model for.</p>
22641
22640
22642
22641
<p>Other specifications may add <a href="#linkTypes">HTML link types</a> as defined in <a
22643
22642
href="#other-link-types">Other link types</a>, with the following additional requirements:</p>
@@ -23231,9 +23230,20 @@ document.body.appendChild(wbr);</code></pre>
23231
23230
<var>targetAttributeValue</var> to the result of <span data-x="get an element's target">getting
23232
23231
an element's target</span> given <var>subject</var>.</p></li>
23233
23232
23234
- <li><p>Let <var>noopener</var> be true if <var>subject</var>'s <a href="#linkTypes">link
23235
- types</a> include the <code data-x="rel-noreferrer">noreferrer</code>
23236
- or <code data-x="rel-noopener">noopener</code> keyword</p></li>
23233
+ <li>
23234
+ <p>Let <var>noopener</var> be true if one of the following is true:</p>
23235
+
23236
+ <ul class="brief">
23237
+ <li><var>subject</var>'s <a href="#linkTypes">link types</a> include the <code
23238
+ data-x="rel-noreferrer">noreferrer</code> or <code data-x="rel-noopener">noopener</code>
23239
+ keyword.</li>
23240
+
23241
+ <li id="opener-processing-model"><var>subject</var>'s <a href="#linkTypes">link types</a> do
23242
+ not include the <code data-x="rel-opener">opener</code> keyword and
23243
+ <var>targetAttributeValue</var> is an <span>ASCII case-insensitive</span> match for "<code
23244
+ data-x="">_blank</code>".</li>
23245
+ </ul>
23246
+ </li>
23237
23247
23238
23248
<li><p>Let <var>target</var> and <var>replace</var> be the result of applying <span>the rules for
23239
23249
choosing a browsing context</span> given <var>targetAttributeValue</var>, <var>source</var>, and
@@ -23804,6 +23814,17 @@ document.body.appendChild(wbr);</code></pre>
23804
23814
Additionally, has the same effect as <code data-x="rel-noopener">noopener</code>.</td>
23805
23815
</tr>
23806
23816
23817
+ <tr>
23818
+ <td><code data-x="rel-opener">opener</code></td>
23819
+ <td><em>not allowed</em></td>
23820
+ <td><span data-x="hyperlink annotation">Annotation</span></td>
23821
+ <td class="no"> · </td>
23822
+ <td>Creates an <span>auxiliary browsing context</span> if the hyperlink would otherwise create
23823
+ a <span>top-level browsing context</span> that is not an <span>auxiliary browsing
23824
+ context</span> (i.e., has "<code data-x="">_blank</code>" as <code
23825
+ data-x="attr-hyperlink-target">target</code> attribute value).</td>
23826
+ </tr>
23827
+
23807
23828
<tr>
23808
23829
<td><code data-x="rel-pingback">pingback</code></td>
23809
23830
<td><span data-x="external resource link">External Resource</span></td>
@@ -24558,9 +24579,9 @@ document.body.appendChild(wbr);</code></pre>
24558
24579
context</span>. E.g., its <code data-x="dom-opener">window.opener</code> attribute will be
24559
24580
null.</p>
24560
24581
24561
- <p class="note">See also the <a href="#noopener">processing model</a> where the branching between
24562
- an <span>auxiliary browsing context</span> and a <span>top-level browsing context</span> is
24563
- defined.</p>
24582
+ <p w-nodev class="note">See also the <a href="#noopener">processing model</a> where the branching
24583
+ between an <span>auxiliary browsing context</span> and a <span>top-level browsing context</span>
24584
+ is defined.</p>
24564
24585
24565
24586
<div class="example">
24566
24587
<p>This typically creates an <span>auxiliary browsing context</span> (assuming there is no
@@ -24607,6 +24628,29 @@ document.body.appendChild(wbr);</code></pre>
24607
24628
</div>
24608
24629
24609
24630
24631
+ <h5>Link type "<dfn><code data-x="rel-opener">opener</code></dfn>"</h5>
24632
+
24633
+ <p>The <code data-x="rel-opener">opener</code> keyword may be used with <code>a</code> and
24634
+ <code>area</code> elements. This keyword does not create a <span>hyperlink</span>, but <span
24635
+ data-x="hyperlink annotation">annotates</span> any other hyperlinks created by the element (the
24636
+ implied hyperlink, if no other keywords create one).</p>
24637
+
24638
+ <p>The keyword indicates that any newly created <span>top-level browsing context</span> which
24639
+ results from following the <span>hyperlink</span> will be an <span>auxiliary browsing
24640
+ context</span>.</p>
24641
+
24642
+ <p w-nodev class="note">See also the <a href="#opener-processing-model">processing model</a>.</p>
24643
+
24644
+ <div class="example">
24645
+ <p>In the following example the <code data-x="rel-opener">opener</code> is used to allow the help
24646
+ page popup to navigate its opener, e.g., in case what the user is looking for can be found
24647
+ elsewhere. An alternative might be to use a named target, rather than <code
24648
+ data-x="">_blank</code>, but this has the potential to clash with existing names.</p>
24649
+
24650
+ <pre><code class="html" data-x=""><a href="..." <mark>rel=opener</mark> target=_blank>Help!</a></code></pre>
24651
+ </div>
24652
+
24653
+
24610
24654
<h5>Link type "<dfn><code data-x="rel-pingback">pingback</code></dfn>"</h5>
24611
24655
24612
24656
<p>The <code data-x="rel-pingback">pingback</code> keyword may be used with <code>link</code>
0 commit comments