From dc1d0c66088b888b93df4dee774b7e645469eb98 Mon Sep 17 00:00:00 2001 From: Ross Kirsling Date: Sun, 3 May 2020 13:15:27 -0700 Subject: [PATCH 1/2] Alphabetize [[RelevantExtensionKeys]]. --- spec/collator.html | 2 +- spec/datetimeformat.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/collator.html b/spec/collator.html index a1912797..46a915d2 100644 --- a/spec/collator.html +++ b/spec/collator.html @@ -122,7 +122,7 @@

Intl.Collator.supportedLocalesOf ( _locales_ [ , _options_ ] )

Internal Slots

- The value of the [[AvailableLocales]] internal slot is implementation defined within the constraints described in . The value of the [[RelevantExtensionKeys]] internal slot is a List that must include the element *"co"*, may include any or all of the elements *"kn"* and *"kf"*, and must not include any other elements. + The value of the [[AvailableLocales]] internal slot is implementation defined within the constraints described in . The value of the [[RelevantExtensionKeys]] internal slot is a List that must include the element *"co"*, may include any or all of the elements *"kf"* and *"kn"*, and must not include any other elements.

diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html index 68e608c3..20701134 100644 --- a/spec/datetimeformat.html +++ b/spec/datetimeformat.html @@ -551,7 +551,7 @@

Internal slots

- The value of the [[RelevantExtensionKeys]] internal slot is « *"ca"*, *"nu"*, *"hc"* ». + The value of the [[RelevantExtensionKeys]] internal slot is « *"ca"*, *"hc"*, *"nu"* ».

From 531543dd84c076c94fd638db8f3352332e7f9e74 Mon Sep 17 00:00:00 2001 From: Ross Kirsling Date: Sun, 3 May 2020 13:16:27 -0700 Subject: [PATCH 2/2] Keep extension keys alphabetized editorially. --- spec/annexes.html | 8 ++++---- spec/collator.html | 2 +- spec/datetimeformat.html | 2 +- spec/numberformat.html | 2 +- spec/relativetimeformat.html | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/annexes.html b/spec/annexes.html index 49f3bc80..d344487c 100644 --- a/spec/annexes.html +++ b/spec/annexes.html @@ -33,7 +33,7 @@

Implementation Dependent Behaviour

In Locale:
  • - Support for the Unicode extensions keys *"kn"*, *"kf"* and the parallel options properties *"numeric"*, *"caseFirst"* () + Support for the Unicode extensions keys *"kf"*, *"kn"* and the parallel options properties *"caseFirst"*, *"numeric"* ()
@@ -41,16 +41,16 @@

Implementation Dependent Behaviour

In Collator:
  • - Support for the Unicode extensions keys *"kn"*, *"kf"* and the parallel options properties *"numeric"*, *"caseFirst"* () + Support for the Unicode extensions keys *"kf"*, *"kn"* and the parallel options properties *"caseFirst"*, *"numeric"* ()
  • The set of supported *"co"* key values (collations) per locale beyond a default collation ()
  • - The set of supported *"kn"* key values (numeric collation) per locale () + The set of supported *"kf"* key values (case order) per locale ()
  • - The set of supported *"kf"* key values (case order) per locale () + The set of supported *"kn"* key values (numeric collation) per locale ()
  • The default search sensitivity per locale () diff --git a/spec/collator.html b/spec/collator.html index 46a915d2..bf0951f2 100644 --- a/spec/collator.html +++ b/spec/collator.html @@ -126,7 +126,7 @@

    Internal Slots

    - Unicode Technical Standard 35 describes ten locale extension keys that are relevant to collation: *"co"* for collator usage and specializations, *"ka"* for alternate handling, *"kb"* for backward second level weight, *"kc"* for case level, *"kn"* for numeric, *"kh"* for hiragana quaternary, *"kk"* for normalization, *"kf"* for case first, *"kr"* for reordering, *"ks"* for collation strength, and *"vt"* for variable top. Collator, however, requires that the usage is specified through the *"usage"* property of the options object, alternate handling through the *"ignorePunctuation"* property of the options object, and case level and the strength through the *"sensitivity"* property of the options object. The *"co"* key in the language tag is supported only for collator specializations, and the keys *"kb"*, *"kh"*, *"kk"*, *"kr"*, and *"vt"* are not allowed in this version of the Internationalization API. Support for the remaining keys is implementation dependent. + Unicode Technical Standard 35 describes ten locale extension keys that are relevant to collation: *"co"* for collator usage and specializations, *"ka"* for alternate handling, *"kb"* for backward second level weight, *"kc"* for case level, *"kf"* for case first, *"kh"* for hiragana quaternary, *"kk"* for normalization, *"kn"* for numeric, *"kr"* for reordering, *"ks"* for collation strength, and *"vt"* for variable top. Collator, however, requires that the usage is specified through the *"usage"* property of the options object, alternate handling through the *"ignorePunctuation"* property of the options object, and case level and the strength through the *"sensitivity"* property of the options object. The *"co"* key in the language tag is supported only for collator specializations, and the keys *"kb"*, *"kh"*, *"kk"*, *"kr"*, and *"vt"* are not allowed in this version of the Internationalization API. Support for the remaining keys is implementation dependent.

    diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html index 20701134..61e96caa 100644 --- a/spec/datetimeformat.html +++ b/spec/datetimeformat.html @@ -555,7 +555,7 @@

    Internal slots

    - Unicode Technical Standard 35 describes three locale extension keys that are relevant to date and time formatting, *"ca"* for calendar, *"tz"* for time zone, *"hc"* for hour cycle, and implicitly *"nu"* for the numbering system of the number format used for numbers within the date format. DateTimeFormat, however, requires that the time zone is specified through the *"timeZone"* property in the options objects. + Unicode Technical Standard 35 describes four locale extension keys that are relevant to date and time formatting: *"ca"* for calendar, *"hc"* for hour cycle, *"nu"* for numbering system (of formatted numbers), and *"tz"* for time zone. DateTimeFormat, however, requires that the time zone is specified through the *"timeZone"* property in the options objects.

    diff --git a/spec/numberformat.html b/spec/numberformat.html index 88d5a1b6..a4213d42 100644 --- a/spec/numberformat.html +++ b/spec/numberformat.html @@ -784,7 +784,7 @@

    Internal slots

    - Unicode Technical Standard 35 describes two locale extension keys that are relevant to number formatting, *"nu"* for numbering system and *"cu"* for currency. Intl.NumberFormat, however, requires that the currency of a currency format is specified through the currency property in the options objects. + Unicode Technical Standard 35 describes two locale extension keys that are relevant to number formatting: *"cu"* for currency and *"nu"* for numbering system. Intl.NumberFormat, however, requires that the currency of a currency format is specified through the currency property in the options objects.

    diff --git a/spec/relativetimeformat.html b/spec/relativetimeformat.html index f13292b1..e843259c 100644 --- a/spec/relativetimeformat.html +++ b/spec/relativetimeformat.html @@ -248,7 +248,7 @@

    Internal slots

    - Unicode Technical Standard 35 implicitly describes one locale extension key that is relevant to relative time formatting, "nu" for numbering system. + Unicode Technical Standard 35 describes one locale extension key that is relevant to relative time formatting: *"nu"* for numbering system (of formatted numbers).