From d324aebd1350c93e268b836d47c1c8db39328690 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 23 Nov 2018 15:05:42 +0100 Subject: [PATCH] rel=""'s values are unordered and unique Last usage of duplication was removed in 16485bf232227f99628894f182e48bbb0634eb1d and isn't supported by the API. The order is also not significant ("stylesheet alternate" is fine). This codifies this in the semantics. --- source | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source b/source index 7911c260429..df570110157 100644 --- a/source +++ b/source @@ -13312,8 +13312,8 @@ interface HTMLLinkElement : HTMLElement {

The types of link indicated (the relationships) are given by the value of the rel attribute, which, if present, must have a value that is a - set of space-separated tokens. The allowed keywords and their - meanings are defined in a later section. If the unordered set of unique space-separated tokens. The allowed + keywords and their meanings are defined in a later section. If the rel attribute is absent, has no keywords, or if none of the keywords used are allowed according to the definitions in this specification, then the element does not create any links.

@@ -22523,8 +22523,8 @@ document.body.appendChild(wbr);

The rel attribute on a and area elements controls what kinds of links the elements create. The attribute's value must be a - set of space-separated tokens. The allowed keywords and their - meanings are defined below.

+ unordered set of unique space-separated tokens. The allowed + keywords and their meanings are defined below.

rel's supported tokens are the keywords defined in @@ -119375,12 +119375,12 @@ interface External { a; area Relationship between the location in the document containing the hyperlink and the destination resource - Set of space-separated tokens* + Unordered set of unique space-separated tokens* rel link Relationship between the document containing the hyperlink and the destination resource - Set of space-separated tokens* + Unordered set of unique space-separated tokens* required input;