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: define create a PaymentAddress algo #644

Merged
merged 3 commits into from Nov 6, 2017
Merged
Changes from 2 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
10 changes: 5 additions & 5 deletions index.html
Expand Up @@ -1913,8 +1913,8 @@ <h2>
Creating a <code>PaymentAddress</code>
</h2>
<p>
The steps to <dfn>create a payment address</dfn> are given by the
following algorithm.
The steps to <dfn>create a payment address</dfn> from user-provided
input are given by the following algorithm.
</p>
<ol data-link-for="PaymentAddress">
<li>Let <var>address</var> be a new instance of
Expand All @@ -1931,8 +1931,8 @@ <h2>
</aside>
</li>
<li>Set <var>address</var>.<a>[[\country]]</a> to the user-provided
<a>country</a> as an upper case [[!ISO3166]] alpha-2 code, or to the
empty string if none was provided.
country as an upper case [[!ISO3166]] alpha-2 code, or to the empty
string if none was provided.
</li>
<li>Set the <var>address</var>.<a>[[\phone]]</a> to the user-provided
phone number for this shipping address, optionally formatted to
Expand Down Expand Up @@ -3080,7 +3080,7 @@ <h2>
run the following steps:
<ol>
<li>Let <var>address</var> be the result of running the steps to
<a>create a payment address</a>
<a>create a payment address</a>.
</li>
<li>Set the <a data-lt=
"PaymentRequest.shippingAddress">shippingAddress</a> attribute on
Expand Down