Skip to content

Commit 26ccefb

Browse files
committed
Editorial: modernize language
1 parent 7942ccc commit 26ccefb

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

notifications.bs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
430430
<a for=notification>icon resource</a> to the decoded resource. (Otherwise
431431
<var>notification</var> has no <a for=notification>icon resource</a>.)
432432
</ol>
433-
</li>
434433

435434
<li>
436435
<p>If the notification platform supports badges, <a for=/>fetch</a> <var>notification</var>'s
@@ -452,7 +451,6 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
452451
<a for=notification>badge resource</a> to the decoded resource. (Otherwise
453452
<var>notification</var> has no <a for=notification>badge resource</a>.)
454453
</ol>
455-
</li>
456454

457455
<li>
458456
<p>If the notification platform supports actions and action icons, then for each <var>action</var>
@@ -476,7 +474,6 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
476474
<a for="notification action">icon resource</a> to the decoded resource. (Otherwise
477475
<var>action</var>'s <a for="notification action">icon resource</a> remains null.)
478476
</ol>
479-
</li>
480477
</ol>
481478
</div>
482479

@@ -506,13 +503,13 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
506503
otherwise.
507504

508505
<li>
509-
<p>If <var>oldNotification</var> is non-null, then:
506+
<p>If <var>oldNotification</var> is non-null:
510507

511508
<ol>
512509
<li><p><a>Handle close events</a> with <var>oldNotification</var>.
513510

514511
<li>
515-
<p>If the notification platform supports replacement, then:
512+
<p>If the notification platform supports replacement:
516513

517514
<ol>
518515
<li><p><a for=list>Replace</a> <var>oldNotification</var> with <var>notification</var>, in the
@@ -529,7 +526,7 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
529526
</ol>
530527

531528
<li>
532-
<p>If <var>shown</var> is false, then:
529+
<p>If <var>shown</var> is false:
533530

534531
<ol>
535532
<li><p><a for=list>Append</a> <var>notification</var> to the <a>list of notifications</a>.
@@ -594,7 +591,7 @@ platform supports activation, the user agent must (unless otherwise specified) r
594591
</ol>
595592

596593
<li>
597-
<p>If <var>notification</var> is a <a>persistent notification</a>, then:
594+
<p>If <var>notification</var> is a <a>persistent notification</a>:
598595

599596
<ol>
600597
<li><p>Let <var>actionName</var> be the empty string.
@@ -1204,7 +1201,7 @@ method steps are:
12041201

12051202
<li>
12061203
<p><a>Queue a global task</a> on the <a>DOM manipulation task source</a> given <var>global</var>
1207-
to run these steps:</p>
1204+
to run these steps:
12081205

12091206
<ol>
12101207
<li><p>Let <var>objects</var> be a <a for=/>list</a>.

0 commit comments

Comments
 (0)