Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editorial: s/characters/code points (closes #322) #528

Merged
merged 1 commit into from
May 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 23 additions & 20 deletions index.html
Expand Up @@ -188,19 +188,21 @@ <h2>
</h2>
<section>
<p>
A string is a <dfn>valid decimal monetary value</dfn> if it consists
of the following components in the given order:
A <dfn data-cite="INFRA#javascript-string">JavaScript string</dfn> is
a <dfn>valid decimal monetary value</dfn> if it consists of the
following <dfn data-lt="code point" data-cite="INFRA#code-point">code
points</dfn> in the given order: [[!INFRA]]
</p>
<ol>
<li>Optionally, a single U+002D HYPHEN-MINUS character (-), to
indicate that the amount is negative
<li>Optionally, a single U+002D HYPHEN-MINUS (-), to indicate that
the amount is negative.
</li>
<li>One or more characters in the range U+0030 DIGIT ZERO (0) to
U+0039 DIGIT NINE (9)
<li>One or more <a>code points</a> in the range U+0030 DIGIT ZERO (0)
to U+0039 DIGIT NINE (9).
</li>
<li>Optionally, a single U+002E FULL STOP character (.) followed by
one or more characters in the range U+0030 DIGIT ZERO (0) to U+0039
DIGIT NINE (9)
<li>Optionally, a single U+002E FULL STOP (.) followed by one or more
<a>code points</a> in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
NINE (9).
</li>
</ol>
<div class="note">
Expand Down Expand Up @@ -413,7 +415,7 @@ <h2>
monetary value</a>, then <a>throw</a> a <a>TypeError</a>;
optionally informing the developer that the value is invalid.
</li>
<li>If the first character of
<li>If the first <a>code point</a> of
<var>details</var>.<a>total</a>.<a data-lt=
"PaymentItem.amount">amount</a>.<a data-lt=
"PaymentCurrencyAmount.value">value</a> is U+002D HYPHEN-MINUS,
Expand Down Expand Up @@ -514,10 +516,10 @@ <h2>
optionally informing the developer that the value is
invalid.
</li>
<li>If the first character of <var>value</var> is
U+002D HYPHEN-MINUS, then throw a <a>TypeError</a>,
optionally informing the developer that the value
can't be negative.
<li>If the first <a>code point</a> of
<var>value</var> is U+002D HYPHEN-MINUS, then throw a
<a>TypeError</a>, optionally informing the developer
that the value can't be negative.
</li>
</ol>
</li>
Expand Down Expand Up @@ -2153,9 +2155,9 @@ <h2>
monetary value</a>, then <a>abort the update</a> with a
<a>TypeError</a>.
</li>
<li>If the first character of <var>value</var> is
U+002D HYPHEN-MINUS, then <a>abort the update</a> with
a <a>TypeError</a>.
<li>If the first <a>code point</a> of <var>value</var>
is U+002D HYPHEN-MINUS, then <a>abort the update</a>
with a <a>TypeError</a>.
</li>
</ol>
</li>
Expand Down Expand Up @@ -2240,9 +2242,10 @@ <h2>
decimal monetary value</a>, then <a>abort the
update</a> with a <a>TypeError</a>.
</li>
<li>If the first character of <var>value</var>
is U+002D HYPHEN-MINUS, then <a>abort the
update</a> with a <a>TypeError</a>.
<li>If the first <a>code point</a> of
<var>value</var> is U+002D HYPHEN-MINUS, then
<a>abort the update</a> with a
<a>TypeError</a>.
</li>
</ol>
</li>
Expand Down