From faa4c20f8f7b1f526e13cc2fc36c58bea99fb217 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Fri, 16 Mar 2018 04:54:45 +0100 Subject: [PATCH] Clarify ASCII-case-insensitive matching for 's name Closes #3332. --- source | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/source b/source index 7e7f1d6d465..7bf325b9939 100644 --- a/source +++ b/source @@ -13811,8 +13811,9 @@ interface HTMLMetaElement : HTMLElement { data-x="attr-lang">lang attribute to specify the language of each name.

There must not be more than one meta element with a given language - and with its name attribute set to the value application-name per document.

+ and where the name attribute value is an + ASCII case-insensitive match for + application-name per document.

@@ -13837,9 +13838,11 @@ interface HTMLMetaElement : HTMLElement {
  • -

    Let winning language be the first language in languages for which there is a meta element in the - Document that has its name attribute set to - the value application-name and whose +

    Let winning language be the first language in languages for which + there is a meta element in the Document where the + name attribute value is an + ASCII case-insensitive match for + application-name and whose language is the language in question.

    If none of the languages have such a meta element, then return; @@ -13850,9 +13853,10 @@ interface HTMLMetaElement : HTMLElement {

  • Return the value of the content attribute of the - first meta element in the Document in tree order that - has its name attribute set to the value application-name and whose language is winning language.

    + first meta element in the Document in tree order where the + name attribute value is an + ASCII case-insensitive match for application-name + and whose language is winning language.

  • @@ -13875,8 +13879,9 @@ interface HTMLMetaElement : HTMLElement {

    The value must be a free-form string that describes the page. The value must be appropriate for use in a directory of pages, e.g. in a search engine. There must not be more than - one meta element with its name attribute set to - the value description per document.

    + one meta element where the name attribute value + is an ASCII case-insensitive match for + description per document.

    generator
    @@ -13936,9 +13941,9 @@ interface HTMLMetaElement : HTMLElement {
  • For each meta element with a name - attribute and a content attribute and whose name attribute's value is keywords:

    + attribute and a content attribute and where the name attribute value is an ASCII case-insensitive + match for keywords:

      @@ -13994,7 +13999,7 @@ interface HTMLMetaElement : HTMLElement {
      • The element is in a document tree
      • The element has a name attribute, whose value is - referrer
      • + an ASCII case-insensitive match for referrer
      • The element has a content attribute, whose value is not the empty string
      • The element is a child of the head element of the document
      • @@ -14058,7 +14063,8 @@ interface HTMLMetaElement : HTMLElement { specified value, or use it as a color highlight in a tab bar or task switcher.

        There must not be more than one meta element with its name attribute set to the value name attribute value set to an + ASCII case-insensitive match for theme-color per document.

        @@ -14084,7 +14090,7 @@ interface HTMLMetaElement : HTMLElement {
        • The element is in a document tree
        • The element has a name attribute, whose value is - theme-color
        • + an ASCII case-insensitive match for theme-color
        • The element has a content attribute