From 989e86d18b0110195c5fc0bb1126e543f7bd36ba Mon Sep 17 00:00:00 2001 From: Ben Allen Date: Wed, 21 Aug 2024 12:52:44 -0700 Subject: [PATCH] Normative: Explicitly designate the (non-lexicographic) sort order for Strings in _pluralCategories_ List in Intl.PluralRules.prototype.resolvedOptions() --- spec/pluralrules.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/pluralrules.html b/spec/pluralrules.html index 68d8cb38..285a40b3 100644 --- a/spec/pluralrules.html +++ b/spec/pluralrules.html @@ -159,7 +159,8 @@

Intl.PluralRules.prototype.resolvedOptions ( )

1. Let _pr_ be the *this* value. 1. Perform ? RequireInternalSlot(_pr_, [[InitializedPluralRules]]). 1. Let _options_ be OrdinaryObjectCreate(%Object.prototype%). - 1. Let _pluralCategories_ be a List of Strings containing all possible results of PluralRuleSelect for the selected locale _pr_.[[Locale]]. + 1. Let _pluralCategories_ be a List of Strings containing all possible results of PluralRuleSelect for the selected locale _pr_.[[Locale]], sorted according to the following order: *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, *"other"*. + 1. For each row of , except the header row, in table order, do 1. Let _p_ be the Property value of the current row. 1. If _p_ is *"pluralCategories"*, then