Skip to content

Commit b475554

Browse files
committed
Editorial: Use list to describe Intl.Segmenter
Use `ul` list to describe the Intl.Segmenter constructor and prototype. This matches the style used in ECMA-262. Also update description of [[Prototype]] to match ECMA-262.
1 parent 3754f85 commit b475554

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

spec/segmenter.html

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ <h1>Segmenter Objects</h1>
44
<emu-clause id="sec-intl-segmenter-constructor">
55
<h1>The Intl.Segmenter Constructor</h1>
66

7-
<p>The Segmenter constructor is the <dfn>%Intl.Segmenter%</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>
7+
<p>The Intl.Segmenter constructor:</p>
8+
<ul>
9+
<li>is <dfn>%Intl.Segmenter%</dfn>.</li>
10+
<li>is the initial value of the *"Segmenter"* property of the Intl object.</li>
11+
</ul>
12+
13+
<p>Behaviour common to all service constructor properties of the Intl object is specified in <emu-xref href="#sec-internal-slots"></emu-xref>.</p>
814

915
<emu-clause id="sec-intl.segmenter">
1016
<h1>Intl.Segmenter ( [ _locales_ [ , _options_ ] ] )</h1>
@@ -29,7 +35,11 @@ <h1>Intl.Segmenter ( [ _locales_ [ , _options_ ] ] )</h1>
2935
<emu-clause id="sec-properties-of-intl-segmenter-constructor">
3036
<h1>Properties of the Intl.Segmenter Constructor</h1>
3137

32-
<p>The Intl.Segmenter constructor has the following properties:</p>
38+
<p>The Intl.Segmenter constructor:</p>
39+
<ul>
40+
<li>has a [[Prototype]] internal slot whose value is %Function.prototype%.</li>
41+
<li>has the following properties:</li>
42+
</ul>
3343

3444
<emu-clause id="sec-intl.segmenter.prototype">
3545
<h1>Intl.Segmenter.prototype</h1>
@@ -69,7 +79,13 @@ <h1>Internal slots</h1>
6979
<emu-clause id="sec-properties-of-intl-segmenter-prototype-object">
7080
<h1>Properties of the Intl.Segmenter Prototype Object</h1>
7181

72-
<p>The Intl.Segmenter prototype object is itself an ordinary object. <dfn>%Intl.Segmenter.prototype%</dfn> is not an Intl.Segmenter instance and does not have an [[InitializedSegmenter]] internal slot or any of the other internal slots of Intl.Segmenter instance objects.</p>
82+
<p>The <dfn>Intl.Segmenter prototype object</dfn>:</p>
83+
<ul>
84+
<li>is <dfn>%Intl.Segmenter.prototype%</dfn>.</li>
85+
<li>is an ordinary object.</li>
86+
<li>is not an Intl.Segmenter instance and does not have an [[InitializedSegmenter]] internal slot or any of the other internal slots of Intl.Segmenter instance objects.</li>
87+
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
88+
</ul>
7389

7490
<emu-clause id="sec-intl.segmenter.prototype.constructor">
7591
<h1>Intl.Segmenter.prototype.constructor</h1>
@@ -182,6 +198,7 @@ <h1>The %IntlSegmentsPrototype% Object</h1>
182198
<ul>
183199
<li>is the prototype of all Segments objects.</li>
184200
<li>is an ordinary object.</li>
201+
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
185202
<li>has the following properties:</li>
186203
</ul>
187204

@@ -258,7 +275,7 @@ <h1>The %IntlSegmentIteratorPrototype% Object</h1>
258275
<ul>
259276
<li>is the prototype of all Segment Iterator objects.</li>
260277
<li>is an ordinary object.</li>
261-
<li>has a [[Prototype]] internal slot whose value is the intrinsic object %Iterator.prototype%.</li>
278+
<li>has a [[Prototype]] internal slot whose value is %Iterator.prototype%.</li>
262279
<li>has the following properties:</li>
263280
</ul>
264281

0 commit comments

Comments
 (0)