Skip to content

Commit 5394ce9

Browse files
authored
chore(tidy): tidy up document
1 parent be6feef commit 5394ce9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

index.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,16 +1013,16 @@ <h2>
10131013
<p>
10141014
This allows the user agent to not require user activation, for
10151015
example to support redirect flows where a user activation may
1016-
not be present upon redirect. See
1017-
<a href="#user-activation-requirement"></a> for security
1016+
not be present upon redirect. See <a href=
1017+
"#user-activation-requirement"></a> for security
10181018
considerations.
10191019
</p>
10201020
<p>
1021-
See also
1022-
<a href="https://github.com/w3c/payment-request/issues/1022">
1023-
issue #1022</a> for discussion around providing more guidance
1024-
in the specification on when user agents should or should not
1025-
require a user activation for {{PaymentRequest/show()}}.
1021+
See also <a href=
1022+
"https://github.com/w3c/payment-request/issues/1022">issue
1023+
#1022</a> for discussion around providing more guidance in the
1024+
specification on when user agents should or should not require
1025+
a user activation for {{PaymentRequest/show()}}.
10261026
</p>
10271027
</div>
10281028
</li>
@@ -4514,24 +4514,24 @@ <h2 id="user-activation-requirement">
45144514
</h2>
45154515
<p>
45164516
If the user agent does not require user activation as part of the
4517-
{{PaymentRequest/show()}} method, some additional security mitigations
4518-
should be considered. Not requiring user activation increases the risk
4519-
of spam and click-jacking attacks, by allowing a Payment Request UI
4520-
to be initiated without the user interacting with the page immediately
4521-
beforehand.
4517+
{{PaymentRequest/show()}} method, some additional security
4518+
mitigations should be considered. Not requiring user activation
4519+
increases the risk of spam and click-jacking attacks, by allowing a
4520+
Payment Request UI to be initiated without the user interacting with
4521+
the page immediately beforehand.
45224522
</p>
45234523
<p>
4524-
In order to mitigate spam, the user agent may decide to enforce a user
4525-
activation requirement after some threshold, for example after the
4526-
user has already been shown a Payment Request UI without a user
4524+
In order to mitigate spam, the user agent may decide to enforce a
4525+
user activation requirement after some threshold, for example after
4526+
the user has already been shown a Payment Request UI without a user
45274527
activation on the current page. In order to mitigate click-jacking
4528-
attacks, the user agent may implement a time threshold in which clicks
4529-
are ignored immediately after a dialog is shown.
4528+
attacks, the user agent may implement a time threshold in which
4529+
clicks are ignored immediately after a dialog is shown.
45304530
</p>
45314531
<p>
45324532
Another relevant mitigation exists in step 6 of
4533-
{{PaymentRequest/show()}}, where the document must be visible in order
4534-
to initiate the user interaction.
4533+
{{PaymentRequest/show()}}, where the document must be visible in
4534+
order to initiate the user interaction.
45354535
</p>
45364536
</section>
45374537
</section>

0 commit comments

Comments
 (0)