Skip to content

Commit

Permalink
Remove "in List order"
Browse files Browse the repository at this point in the history
  • Loading branch information
anba committed Feb 25, 2021
1 parent be7b370 commit cad7fe3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/datetimeformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h1>BasicFormatMatcher ( _options_, _formats_ )</h1>
1. Let _bestScore_ be -*Infinity*.
1. Let _bestFormat_ be *undefined*.
1. Assert: Type(_formats_) is List.
1. For each element _format_ of _formats_ in List order, do
1. For each element _format_ of _formats_, do
1. Let _score_ be 0.
1. For each property name _property_ shown in <emu-xref href="#table-datetimeformat-components"></emu-xref>, do
1. Let _optionsProp_ be _options_.[[&lt;_property_&gt;]].
Expand Down
2 changes: 1 addition & 1 deletion spec/listformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>DeconstructPattern ( _pattern_, _placeables_ )</h1>
1. Assert: _placeables_ has a field [[&lt;_part_&gt;]].
1. Let _subst_ be _placeables_.[[&lt;_part_&gt;]].
1. If Type(_subst_) is List, then
1. For each element _s_ of _subst_ in List order, do
1. For each element _s_ of _subst_, do
1. Append _s_ to _result_.
1. Else,
1. Append _subst_ to _result_.
Expand Down
2 changes: 1 addition & 1 deletion spec/locale.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h1>ApplyUnicodeExtensionToTag ( _tag_, _options_, _relevantExtensionKeys_ )</h1
1. Let _attributes_ be a new empty List.
1. Let _keywords_ be a new empty List.
1. Let _result_ be a new Record.
1. For each element _key_ of _relevantExtensionKeys_ in List order, do
1. For each element _key_ of _relevantExtensionKeys_, do
1. Let _value_ be *undefined*.
1. If _keywords_ contains an element whose [[Key]] is the same as _key_, then
1. Let _entry_ be the element of _keywords_ whose [[Key]] is the same as _key_.
Expand Down
2 changes: 1 addition & 1 deletion spec/locales-currencies-tz.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h1>CanonicalizeUnicodeLocaleId ( _locale_ )</h1>
1. Let _attributes_ be _components_.[[Attributes]].
1. Let _keywords_ be _components_.[[Keywords]].
1. Let _newExtension_ be *"u"*.
1. For each element _attr_ of _attributes_ in List order, do
1. For each element _attr_ of _attributes_, do
1. Append *"-"* to _newExtension_.
1. Append _attr_ to _newExtension_.
1. For each Record { [[Key]], [[Value]] } _keyword_ in _keywords_, do
Expand Down
6 changes: 3 additions & 3 deletions spec/negotiation.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1>LookupMatcher ( _availableLocales_, _requestedLocales_ )</h1>

<emu-alg>
1. Let _result_ be a new Record.
1. For each element _locale_ of _requestedLocales_ in List order, do
1. For each element _locale_ of _requestedLocales_, do
1. Let _noExtensionsLocale_ be the String value that is _locale_ with all Unicode locale extension sequences removed.
1. Let _availableLocale_ be BestAvailableLocale(_availableLocales_, _noExtensionsLocale_).
1. If _availableLocale_ is not *undefined*, then
Expand Down Expand Up @@ -212,7 +212,7 @@ <h1>ResolveLocale ( _availableLocales_, _requestedLocales_, _options_, _relevant
1. Let _components_ be ! UnicodeExtensionComponents(_r_.[[extension]]).
1. Let _keywords_ be _components_.[[Keywords]].
1. Let _supportedExtension_ be *"-u"*.
1. For each element _key_ of _relevantExtensionKeys_ in List order, do
1. For each element _key_ of _relevantExtensionKeys_, do
1. Let _foundLocaleData_ be _localeData_.[[&lt;_foundLocale_&gt;]].
1. Assert: Type(_foundLocaleData_) is Record.
1. Let _keyLocaleData_ be _foundLocaleData_.[[&lt;_key_&gt;]].
Expand Down Expand Up @@ -265,7 +265,7 @@ <h1>LookupSupportedLocales ( _availableLocales_, _requestedLocales_ )</h1>

<emu-alg>
1. Let _subset_ be a new empty List.
1. For each element _locale_ of _requestedLocales_ in List order, do
1. For each element _locale_ of _requestedLocales_, do
1. Let _noExtensionsLocale_ be the String value that is _locale_ with all Unicode locale extension sequences removed.
1. Let _availableLocale_ be BestAvailableLocale(_availableLocales_, _noExtensionsLocale_).
1. If _availableLocale_ is not *undefined*, append _locale_ to the end of _subset_.
Expand Down

0 comments on commit cad7fe3

Please sign in to comment.