Skip to content

Commit d324aeb

Browse files
committed
rel=""'s values are unordered and unique
Last usage of duplication was removed in 16485bf and isn't supported by the API. The order is also not significant ("stylesheet alternate" is fine). This codifies this in the semantics.
1 parent 840e22f commit d324aeb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13312,8 +13312,8 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
1331213312

1331313313
<p>The types of link indicated (the relationships) are given by the value of the <dfn><code
1331413314
data-x="attr-link-rel">rel</code></dfn> attribute, which, if present, must have a value that is a
13315-
<span>set of space-separated tokens</span>. The <a href="#linkTypes">allowed keywords and their
13316-
meanings</a> are defined in a later section. <span w-nodev>If the <code
13315+
<span>unordered set of unique space-separated tokens</span>. The <a href="#linkTypes">allowed
13316+
keywords and their meanings</a> are defined in a later section. <span w-nodev>If the <code
1331713317
data-x="attr-link-rel">rel</code> attribute is absent, has no keywords, or if none of the keywords
1331813318
used are allowed according to the definitions in this specification, then the element does not
1331913319
create any links.</span></p>
@@ -22523,8 +22523,8 @@ document.body.appendChild(wbr);</code></pre>
2252322523
<p><span w-dev subdfn data-x="dom-a-rellist"></span>The <dfn><code
2252422524
data-x="attr-hyperlink-rel">rel</code></dfn> attribute on <code>a</code> and <code>area</code>
2252522525
elements controls what kinds of links the elements create. The attribute's value must be a
22526-
<span>set of space-separated tokens</span>. The <a href="#linkTypes">allowed keywords and their
22527-
meanings</a> are defined below.</p>
22526+
<span>unordered set of unique space-separated tokens</span>. The <a href="#linkTypes">allowed
22527+
keywords and their meanings</a> are defined below.</p>
2252822528

2252922529
<p><code data-x="attr-hyperlink-rel">rel</code>'s
2253022530
<span data-x="concept-supported-tokens">supported tokens</span> are the keywords defined in
@@ -119375,12 +119375,12 @@ interface <dfn>External</dfn> {
119375119375
<td> <code data-x="attr-hyperlink-rel">a</code>;
119376119376
<code data-x="attr-hyperlink-rel">area</code>
119377119377
<td> Relationship between the location in the document containing the <span>hyperlink</span> and the destination resource
119378-
<td> <span>Set of space-separated tokens</span>*
119378+
<td> <span>Unordered set of unique space-separated tokens</span>*
119379119379
<tr>
119380119380
<th> <code data-x="">rel</code>
119381119381
<td> <code data-x="attr-link-rel">link</code>
119382119382
<td> Relationship between the document containing the <span>hyperlink</span> and the destination resource
119383-
<td> <span>Set of space-separated tokens</span>*
119383+
<td> <span>Unordered set of unique space-separated tokens</span>*
119384119384
<tr>
119385119385
<th> <code data-x="">required</code>
119386119386
<td> <code data-x="attr-input-required">input</code>;

0 commit comments

Comments
 (0)