Skip to content

Commit 7fcb27e

Browse files
gibson042ryzokuken
authored andcommitted
Editorial: emu-format
1 parent b2d1b6f commit 7fcb27e

23 files changed

+650
-1234
lines changed

spec/annexes.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<emu-annex id="annex-implementation-dependent-behaviour">
22
<h1>Implementation Dependent Behaviour</h1>
33

4-
<p>
5-
The following aspects of this specification are implementation dependent:
6-
</p>
4+
<p>The following aspects of this specification are implementation dependent:</p>
75

86
<ul>
97
<li>
@@ -151,7 +149,7 @@ <h1>Implementation Dependent Behaviour</h1>
151149
<li>
152150
Localized narrow, short, and long unit symbols (<emu-xref href="#sec-formatnumber"></emu-xref>)
153151
</li>
154-
</ul>
152+
</ul>
155153
</li>
156154
<li>
157155
In PluralRules:

spec/collator.html

+28-76
Large diffs are not rendered by default.

spec/conformance.html

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
<emu-clause id="conformance">
22
<h1>Conformance</h1>
3-
<p>
4-
A conforming implementation of this specification must conform to the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition, or successor), and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.
5-
</p>
6-
<p>
7-
A conforming implementation is permitted to provide additional objects, properties, and functions beyond those described in this specification. In particular, a conforming implementation is permitted to provide properties not described in this specification, and values for those properties, for objects that are described herein. A conforming implementation is not permitted to add optional arguments to the functions defined in this specification.
8-
</p>
9-
<p>
10-
A conforming implementation is permitted to accept additional values, and then have implementation-defined behaviour instead of throwing a *RangeError*, for the following properties of _options_ arguments:
11-
</p>
3+
<p>A conforming implementation of this specification must conform to the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition, or successor), and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.</p>
4+
<p>A conforming implementation is permitted to provide additional objects, properties, and functions beyond those described in this specification. In particular, a conforming implementation is permitted to provide properties not described in this specification, and values for those properties, for objects that are described herein. A conforming implementation is not permitted to add optional arguments to the functions defined in this specification.</p>
5+
<p>A conforming implementation is permitted to accept additional values, and then have implementation-defined behaviour instead of throwing a *RangeError*, for the following properties of _options_ arguments:</p>
126
<ul>
137
<li>The _options_ property *"localeMatcher"* in all constructors and `supportedLocalesOf` methods.</li>
148
<li>The _options_ properties *"usage"* and *"sensitivity"* in the Collator constructor.</li>

spec/conventions.html

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<emu-clause id="conventions">
22
<h1>Notational Conventions</h1>
33

4-
<p>
5-
This standard uses a subset of the notational conventions of the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition), as es2025:
6-
</p>
4+
<p>This standard uses a subset of the notational conventions of the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition), as es2025:</p>
75

86
<ul>
97
<li>Object Internal Methods and Internal Slots, as described in es2025, <emu-xref href="#sec-object-internal-methods-and-internal-slots"></emu-xref>.</li>
@@ -16,20 +14,14 @@ <h1>Notational Conventions</h1>
1614
As described in the ECMAScript Language Specification, algorithms are used to precisely specify the required semantics of ECMAScript constructs, but are not intended to imply the use of any specific implementation technique. Internal slots are used to define the semantics of object values, but are not part of the API. They are defined purely for expository purposes. An implementation of the API must behave as if it produced and operated upon internal slots in the manner described here.
1715
</emu-note>
1816

19-
<p>
20-
As an extension to the Record Specification Type, the notation “[[&lt;_name_&gt;]]” denotes a field whose name is given by the variable _name_, which must have a String value. For example, if a variable _s_ has the value *"a"*, then [[&lt;_s_&gt;]] denotes the field [[a]].
21-
</p>
17+
<p>As an extension to the Record Specification Type, the notation “[[&lt;_name_>]]” denotes a field whose name is given by the variable _name_, which must have a String value. For example, if a variable _s_ has the value *"a"*, then [[&lt;_s_>]] denotes the field [[a]].</p>
2218

23-
<p>
24-
This specification uses blocks demarcated as <span class="normative-optional">Normative Optional</span> to denote the sense of <a href="https://tc39.es/ecma262/#sec-additional-ecmascript-features-for-web-browsers">Annex B</a> in ECMA 262. That is, normative optional sections are required when the ECMAScript host is a web browser. The content of the section is normative but optional if the ECMAScript host is not a web browser.
25-
</p>
19+
<p>This specification uses blocks demarcated as <span class="normative-optional">Normative Optional</span> to denote the sense of <a href="https://tc39.es/ecma262/#sec-additional-ecmascript-features-for-web-browsers">Annex B</a> in ECMA 262. That is, normative optional sections are required when the ECMAScript host is a web browser. The content of the section is normative but optional if the ECMAScript host is not a web browser.</p>
2620

2721
<emu-clause id="sec-402-well-known-intrinsic-objects">
2822
<h1>Well-Known Intrinsic Objects</h1>
2923

30-
<p>
31-
The following table extends the Well-Known Intrinsic Objects table defined in es2025, <emu-xref href="#sec-well-known-intrinsic-objects"></emu-xref>.
32-
</p>
24+
<p>The following table extends the Well-Known Intrinsic Objects table defined in es2025, <emu-xref href="#sec-well-known-intrinsic-objects"></emu-xref>.</p>
3325

3426
<emu-table id="table-402-well-known-intrinsic-objects">
3527
<emu-caption>Well-known Intrinsic Objects (Extensions)</emu-caption>

0 commit comments

Comments
 (0)