You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editorial: Update "Properties of $Type Instances" sections (#973)
* Remove "the" from the Intl.Collator constructor section id
* Update "Properties of $Type Instances" sections to link to the $Type constructor section
* Add UTS 35 links to "Properties of $Type Instances" sections
Copy file name to clipboardexpand all lines: spec/annexes.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ <h1>Additions and Changes That Introduce Incompatibilities with Prior Editions</
189
189
190
190
<ul>
191
191
<li>
192
-
<emu-xrefhref="#sec-the-intl-collator-constructor"></emu-xref>, <emu-xrefhref="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xrefhref="#sec-intl-datetimeformat-constructor"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, constructors could be used to create Intl objects from arbitrary objects. This is no longer possible in 2nd Edition.
192
+
<emu-xrefhref="#sec-intl-collator-constructor"></emu-xref>, <emu-xrefhref="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xrefhref="#sec-intl-datetimeformat-constructor"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, constructors could be used to create Intl objects from arbitrary objects. This is no longer possible in 2nd Edition.
193
193
</li>
194
194
<li>
195
195
<emu-xrefhref="#sec-intl.datetimeformat.prototype.format"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, the *"length"* property of the function object _F_ was set to *+0*<sub>𝔽</sub>. In 2nd Edition, *"length"* is set to *1*<sub>𝔽</sub>.
<p>The Intl.Collator constructor is the <dfn>%Intl.Collator%</dfn> intrinsic object and a standard built-in property of the Intl object. Behaviour common to all service constructor properties of the Intl object is specified in <emu-xrefhref="#sec-internal-slots"></emu-xref>.</p>
7
7
@@ -326,14 +326,14 @@ <h1>Properties of Intl.Collator Instances</h1>
326
326
327
327
<p>Intl.Collator instances have an [[InitializedCollator]] internal slot.</p>
328
328
329
-
<p>Intl.Collator instances also have several internal slots that are computed by the constructor:</p>
329
+
<p>Intl.Collator instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-collator-constructor"title></emu-xref>:</p>
330
330
331
331
<ul>
332
332
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for collation.</li>
333
333
<li>[[Usage]] is one of the String values *"sort"* or *"search"*, identifying the collator usage.</li>
334
334
<li>[[Sensitivity]] is one of the String values *"base"*, *"accent"*, *"case"*, or *"variant"*, identifying the collator's sensitivity.</li>
335
335
<li>[[IgnorePunctuation]] is a Boolean value, specifying whether punctuation should be ignored in comparisons.</li>
336
-
<li>[[Collation]] is a String value with the *"type"* given in <ahref="https://unicode.org/reports/tr35/#Key_And_Type_Definitions_">Unicode Technical Standard #35 Part 1 Core, Section 3.6.1 Key and Type Definitions</a> for the collation, except that the values *"standard"* and *"search"* are not allowed, while the value *"default"* is allowed.</li>
336
+
<li>[[Collation]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeCollationIdentifier">Unicode Collation Identifier</a> used for collation, except that the values *"standard"* and *"search"* are not allowed, while the value *"default"* is allowed.</li>
337
337
</ul>
338
338
339
339
<p>Intl.Collator instances also have the following internal slots if the key corresponding to the name of the internal slot in <emu-xrefhref="#table-collator-resolvedoptions-properties"></emu-xref> is included in the [[RelevantExtensionKeys]] internal slot of Intl.Collator:</p>
Copy file name to clipboardexpand all lines: spec/datetimeformat.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -1105,7 +1105,7 @@ <h1>Properties of Intl.DateTimeFormat Instances</h1>
1105
1105
1106
1106
<p>Intl.DateTimeFormat instances have an [[InitializedDateTimeFormat]] internal slot.</p>
1107
1107
1108
-
<p>Intl.DateTimeFormat instances also have several internal slots that are computed by the constructor:</p>
1108
+
<p>Intl.DateTimeFormat instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-datetimeformat-constructor"title></emu-xref>:</p>
1109
1109
1110
1110
<ul>
1111
1111
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
Copy file name to clipboardexpand all lines: spec/displaynames.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -192,7 +192,7 @@ <h1>Properties of Intl.DisplayNames Instances</h1>
192
192
193
193
<p>Intl.DisplayNames instances have an [[InitializedDisplayNames]] internal slot.</p>
194
194
195
-
<p>Intl.DisplayNames instances also have several internal slots that are computed by the constructor:</p>
195
+
<p>Intl.DisplayNames instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-displaynames-constructor"title></emu-xref>:</p>
196
196
197
197
<ul>
198
198
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
Copy file name to clipboardexpand all lines: spec/durationformat.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -378,11 +378,11 @@ <h1>Properties of Intl.DurationFormat Instances</h1>
378
378
379
379
<p>Intl.DurationFormat instances inherit properties from %Intl.DurationFormat.prototype%.</p>
380
380
<p>Intl.DurationFormat instances have an [[InitializedDurationFormat]] internal slot.</p>
381
-
<p>Intl.DurationFormat instances also have several internal slots that are computed by the constructor:</p>
381
+
<p>Intl.DurationFormat instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-durationformat-constructor"title></emu-xref>:</p>
382
382
383
383
<ul>
384
384
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
385
-
<li>[[NumberingSystem]] is a String value with the *"type"* given in Unicode Technical Standard 35 for the numbering system used for formatting.</li>
385
+
<li>[[NumberingSystem]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
386
386
<li>[[Style]] is one of the String values *"long"*, *"short"*, *"narrow"*, or *"digital"* identifying the duration formatting style used.</li>
387
387
<li>[[YearsStyle]] is one of the String values *"long"*, *"short"*, or *"narrow"* identifying the formatting style used for the years field.</li>
388
388
<li>[[YearsDisplay]] is one of the String values *"auto"* or *"always"* identifying when to display the years field.</li>
Copy file name to clipboardexpand all lines: spec/listformat.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ <h1>Properties of Intl.ListFormat Instances</h1>
179
179
180
180
<p>Intl.ListFormat instances have an [[InitializedListFormat]] internal slot.</p>
181
181
182
-
<p>Intl.ListFormat instances also have several internal slots that are computed by the constructor:</p>
182
+
<p>Intl.ListFormat instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-listformat-constructor"title></emu-xref>:</p>
183
183
184
184
<ul>
185
185
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used by the list format styles.</li>
Copy file name to clipboardexpand all lines: spec/locale.html
+7-7
Original file line number
Diff line number
Diff line change
@@ -326,16 +326,16 @@ <h1>Properties of Intl.Locale Instances</h1>
326
326
327
327
<p>Intl.Locale instances have an [[InitializedLocale]] internal slot.</p>
328
328
329
-
<p>Intl.Locale instances also have several internal slots that are computed by the constructor:</p>
329
+
<p>Intl.Locale instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-locale-constructor"title></emu-xref>:</p>
330
330
331
331
<ul>
332
332
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
333
-
<li>[[Calendar]] is a String value that is a syntactically valid type value as given in <ahref="https://unicode.org/reports/tr35/#Unicode_locale_identifier">Unicode Technical Standard #35 Part 1 Core, Section 3.2 Unicode Locale Identifier</a>, or is *undefined*.</li>
334
-
<li>[[Collation]] is a String value that is a syntactically valid type value as given in <ahref="https://unicode.org/reports/tr35/#Unicode_locale_identifier">Unicode Technical Standard #35 Part 1 Core, Section 3.2 Unicode Locale Identifier</a>, or is *undefined*.</li>
335
-
<li>[[HourCycle]] is a String value that is a syntactically valid type value as given in <ahref="https://unicode.org/reports/tr35/#Unicode_locale_identifier">Unicode Technical Standard #35 Part 1 Core, Section 3.2 Unicode Locale Identifier</a>, or is *undefined*.</li>
336
-
<li>[[NumberingSystem]] is a String value that is a syntactically valid type value as given in <ahref="https://unicode.org/reports/tr35/#Unicode_locale_identifier">Unicode Technical Standard #35 Part 1 Core, Section 3.2 Unicode Locale Identifier</a>, or is *undefined*.</li>
337
-
<li>[[CaseFirst]] is a String value that is a syntactically valid type value as given in <ahref="https://unicode.org/reports/tr35/#Unicode_locale_identifier">Unicode Technical Standard #35 Part 1 Core, Section 3.2 Unicode Locale Identifier</a>, or is *undefined*. This internal slot only exists if the [[LocaleExtensionKeys]] internal slot of %Intl.Locale% contains *"kf"*.</li>
338
-
<li>[[Numeric]] is a Boolean value specifying whether numeric sorting is used by the locale, or is *undefined*. This internal slot only exists if the [[LocaleExtensionKeys]] internal slot of %Intl.Locale% contains *"kn"*.</li>
333
+
<li>[[Calendar]] is either *undefined* or a String value that is a well-formed <ahref="https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier">Unicode Calendar Identifier</a> in canonical form.</li>
334
+
<li>[[Collation]] is either *undefined* or a String value that is a well-formed <ahref="https://unicode.org/reports/tr35/#UnicodeCollationIdentifier">Unicode Collation Identifier</a> in canonical form.</li>
335
+
<li>[[HourCycle]] is either *undefined* or a String value that is a valid <ahref="https://unicode.org/reports/tr35/#UnicodeHourCycleIdentifier">Unicode Hour Cycle Identifier</a> in canonical form.</li>
336
+
<li>[[NumberingSystem]] is either *undefined* or a String value that is a well-formed <ahref="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> in canonical form.</li>
337
+
<li>[[CaseFirst]] is either *undefined* or one of the String values *"upper"*, *"lower"*, or *"false"*. This internal slot only exists if the [[LocaleExtensionKeys]] internal slot of %Intl.Locale% contains *"kf"*.</li>
338
+
<li>[[Numeric]] is either *undefined* or a Boolean value specifying whether numeric sorting is used by the locale. This internal slot only exists if the [[LocaleExtensionKeys]] internal slot of %Intl.Locale% contains *"kn"*.</li>
Copy file name to clipboardexpand all lines: spec/numberformat.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -502,12 +502,12 @@ <h1>Properties of Intl.NumberFormat Instances</h1>
502
502
503
503
<p>Intl.NumberFormat instances have an [[InitializedNumberFormat]] internal slot.</p>
504
504
505
-
<p>Intl.NumberFormat instances also have several internal slots that are computed by the constructor:</p>
505
+
<p>Intl.NumberFormat instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-numberformat-constructor"title></emu-xref>:</p>
506
506
507
507
<ul>
508
508
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
509
509
<li>[[LocaleData]] is a Record representing the data available to the implementation for formatting. It is the value of an entry in %Intl.NumberFormat%.[[LocaleData]] associated with either the value of [[Locale]] or a prefix thereof.</li>
510
-
<li>[[NumberingSystem]] is a String value with the "type" given in <ahref="https://unicode.org/reports/tr35/#Key_And_Type_Definitions_">Unicode Technical Standard #35 Part 1 Core, Section 3.6.1 Key and Type Definitions</a> for the numbering system used for formatting.</li>
510
+
<li>[[NumberingSystem]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
511
511
<li>[[Style]] is one of the String values *"decimal"*, *"currency"*, *"percent"*, or *"unit"*, identifying the type of quantity being measured.</li>
512
512
<li>[[Currency]] is a String value with the currency code identifying the currency to be used if formatting with the *"currency"* unit type. It is only used when [[Style]] has the value *"currency"*.</li>
513
513
<li>[[CurrencyDisplay]] is one of the String values *"code"*, *"symbol"*, *"narrowSymbol"*, or *"name"*, specifying whether to display the currency as an ISO 4217 alphabetic currency code, a localized currency symbol, or a localized currency name if formatting with the *"currency"* style. It is only used when [[Style]] has the value *"currency"*.</li>
Copy file name to clipboardexpand all lines: spec/pluralrules.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ <h1>Properties of Intl.PluralRules Instances</h1>
224
224
225
225
<p>Intl.PluralRules instances have an [[InitializedPluralRules]] internal slot.</p>
226
226
227
-
<p>Intl.PluralRules instances also have several internal slots that are computed by the constructor:</p>
227
+
<p>Intl.PluralRules instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-pluralrules-constructor"title></emu-xref>:</p>
228
228
229
229
<ul>
230
230
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used by the plural rules.</li>
Copy file name to clipboardexpand all lines: spec/relativetimeformat.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -196,15 +196,15 @@ <h1>Properties of Intl.RelativeTimeFormat Instances</h1>
196
196
197
197
<p>Intl.RelativeTimeFormat instances have an [[InitializedRelativeTimeFormat]] internal slot.</p>
198
198
199
-
<p>Intl.RelativeTimeFormat instances also have several internal slots that are computed by the constructor:</p>
199
+
<p>Intl.RelativeTimeFormat instances also have several internal slots that are computed by <emu-xrefhref="#sec-intl-relativetimeformat-constructor"title></emu-xref>:</p>
200
200
201
201
<ul>
202
202
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
203
203
<li>[[LocaleData]] is a Record representing the data available to the implementation for formatting. It is the value of an entry in %Intl.RelativeTimeFormat%.[[LocaleData]] associated with either the value of [[Locale]] or a prefix thereof.</li>
204
204
<li>[[Style]] is one of the String values *"long"*, *"short"*, or *"narrow"*, identifying the relative time format style used.</li>
205
205
<li>[[Numeric]] is one of the String values *"always"* or *"auto"*, identifying whether numerical descriptions are always used, or used only when no more specific version is available (e.g., "1 day ago" vs "yesterday").</li>
206
206
<li>[[NumberFormat]] is an Intl.NumberFormat object used for formatting.</li>
207
-
<li>[[NumberingSystem]] is a String value with the *"type"* given in <ahref="https://unicode.org/reports/tr35/#Key_And_Type_Definitions_">Unicode Technical Standard #35 Part 1 Core, Section 3.6.1 Key and Type Definitions</a> for the numbering system used for formatting.</li>
207
+
<li>[[NumberingSystem]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
208
208
<li>[[PluralRules]] is an Intl.PluralRules object used for formatting.</li>
0 commit comments