Skip to content

Commit 2b5410f

Browse files
authored
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
1 parent 2c7b66f commit 2b5410f

12 files changed

+23
-23
lines changed

spec/annexes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h1>Additions and Changes That Introduce Incompatibilities with Prior Editions</
189189

190190
<ul>
191191
<li>
192-
<emu-xref href="#sec-the-intl-collator-constructor"></emu-xref>, <emu-xref href="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xref href="#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-xref href="#sec-intl-collator-constructor"></emu-xref>, <emu-xref href="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xref href="#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.
193193
</li>
194194
<li>
195195
<emu-xref href="#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>.

spec/collator.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<emu-clause id="collator-objects">
22
<h1>Collator Objects</h1>
33

4-
<emu-clause id="sec-the-intl-collator-constructor">
4+
<emu-clause id="sec-intl-collator-constructor" oldids="sec-the-intl-collator-constructor">
55
<h1>The Intl.Collator Constructor</h1>
66
<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-xref href="#sec-internal-slots"></emu-xref>.</p>
77

@@ -326,14 +326,14 @@ <h1>Properties of Intl.Collator Instances</h1>
326326

327327
<p>Intl.Collator instances have an [[InitializedCollator]] internal slot.</p>
328328

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-xref href="#sec-intl-collator-constructor" title></emu-xref>:</p>
330330

331331
<ul>
332332
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for collation.</li>
333333
<li>[[Usage]] is one of the String values *"sort"* or *"search"*, identifying the collator usage.</li>
334334
<li>[[Sensitivity]] is one of the String values *"base"*, *"accent"*, *"case"*, or *"variant"*, identifying the collator's sensitivity.</li>
335335
<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 <a href="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 <a href="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>
337337
</ul>
338338

339339
<p>Intl.Collator instances also have the following internal slots if the key corresponding to the name of the internal slot in <emu-xref href="#table-collator-resolvedoptions-properties"></emu-xref> is included in the [[RelevantExtensionKeys]] internal slot of Intl.Collator:</p>

spec/conventions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h1>Well-Known Intrinsic Objects</h1>
4141
<tr>
4242
<td>%Intl.Collator%</td>
4343
<td>`Intl.Collator`</td>
44-
<td>The `Intl.Collator` constructor (<emu-xref href="#sec-the-intl-collator-constructor"></emu-xref>)</td>
44+
<td>The `Intl.Collator` constructor (<emu-xref href="#sec-intl-collator-constructor"></emu-xref>)</td>
4545
</tr>
4646
<tr>
4747
<td>%Intl.DateTimeFormat%</td>

spec/datetimeformat.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ <h1>Properties of Intl.DateTimeFormat Instances</h1>
11051105

11061106
<p>Intl.DateTimeFormat instances have an [[InitializedDateTimeFormat]] internal slot.</p>
11071107

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-xref href="#sec-intl-datetimeformat-constructor" title></emu-xref>:</p>
11091109

11101110
<ul>
11111111
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>

spec/displaynames.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ <h1>Properties of Intl.DisplayNames Instances</h1>
192192

193193
<p>Intl.DisplayNames instances have an [[InitializedDisplayNames]] internal slot.</p>
194194

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-xref href="#sec-intl-displaynames-constructor" title></emu-xref>:</p>
196196

197197
<ul>
198198
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>

spec/durationformat.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ <h1>Properties of Intl.DurationFormat Instances</h1>
378378

379379
<p>Intl.DurationFormat instances inherit properties from %Intl.DurationFormat.prototype%.</p>
380380
<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-xref href="#sec-intl-durationformat-constructor" title></emu-xref>:</p>
382382

383383
<ul>
384384
<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 <a href="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
386386
<li>[[Style]] is one of the String values *"long"*, *"short"*, *"narrow"*, or *"digital"* identifying the duration formatting style used.</li>
387387
<li>[[YearsStyle]] is one of the String values *"long"*, *"short"*, or *"narrow"* identifying the formatting style used for the years field.</li>
388388
<li>[[YearsDisplay]] is one of the String values *"auto"* or *"always"* identifying when to display the years field.</li>

spec/listformat.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ <h1>Properties of Intl.ListFormat Instances</h1>
179179

180180
<p>Intl.ListFormat instances have an [[InitializedListFormat]] internal slot.</p>
181181

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-xref href="#sec-intl-listformat-constructor" title></emu-xref>:</p>
183183

184184
<ul>
185185
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used by the list format styles.</li>

spec/locale.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,16 @@ <h1>Properties of Intl.Locale Instances</h1>
326326

327327
<p>Intl.Locale instances have an [[InitializedLocale]] internal slot.</p>
328328

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-xref href="#sec-intl-locale-constructor" title></emu-xref>:</p>
330330

331331
<ul>
332332
<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 <a href="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 <a href="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 <a href="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 <a href="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 <a href="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 <a href="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 <a href="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 <a href="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 <a href="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>
339339
</ul>
340340
</emu-clause>
341341

spec/numberformat.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -502,12 +502,12 @@ <h1>Properties of Intl.NumberFormat Instances</h1>
502502

503503
<p>Intl.NumberFormat instances have an [[InitializedNumberFormat]] internal slot.</p>
504504

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-xref href="#sec-intl-numberformat-constructor" title></emu-xref>:</p>
506506

507507
<ul>
508508
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
509509
<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 <a href="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 <a href="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
511511
<li>[[Style]] is one of the String values *"decimal"*, *"currency"*, *"percent"*, or *"unit"*, identifying the type of quantity being measured.</li>
512512
<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>
513513
<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>

spec/pluralrules.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ <h1>Properties of Intl.PluralRules Instances</h1>
224224

225225
<p>Intl.PluralRules instances have an [[InitializedPluralRules]] internal slot.</p>
226226

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-xref href="#sec-intl-pluralrules-constructor" title></emu-xref>:</p>
228228

229229
<ul>
230230
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used by the plural rules.</li>

spec/relativetimeformat.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ <h1>Properties of Intl.RelativeTimeFormat Instances</h1>
196196

197197
<p>Intl.RelativeTimeFormat instances have an [[InitializedRelativeTimeFormat]] internal slot.</p>
198198

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-xref href="#sec-intl-relativetimeformat-constructor" title></emu-xref>:</p>
200200

201201
<ul>
202202
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
203203
<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>
204204
<li>[[Style]] is one of the String values *"long"*, *"short"*, or *"narrow"*, identifying the relative time format style used.</li>
205205
<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>
206206
<li>[[NumberFormat]] is an Intl.NumberFormat object used for formatting.</li>
207-
<li>[[NumberingSystem]] is a String value with the *"type"* given in <a href="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 <a href="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
208208
<li>[[PluralRules]] is an Intl.PluralRules object used for formatting.</li>
209209
</ul>
210210
</emu-clause>

spec/segmenter.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h1>Properties of Intl.Segmenter Instances</h1>
144144

145145
<p>Intl.Segmenter instances have an [[InitializedSegmenter]] internal slot.</p>
146146

147-
<p>Intl.Segmenter instances also have internal slots that are computed by the constructor:</p>
147+
<p>Intl.Segmenter instances also have internal slots that are computed by <emu-xref href="#sec-intl-segmenter-constructor" title></emu-xref>:</p>
148148

149149
<ul>
150150
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for segmentation.</li>

0 commit comments

Comments
 (0)