Skip to content

Commit a1b1a20

Browse files
committed
[cssom-view] Fix up other bikeshed issues.
1 parent dac2f49 commit a1b1a20

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

cssom-view-1/Overview.bs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -446,13 +446,13 @@ the following steps must be run:
446446
1. Let <var>scrollPromise</var> be a new {{Promise}}.
447447
1. Return <var>scrollPromise</var>, and run the remaining steps <a>in parallel</a>.
448448
1. If the user agent honors the 'scroll-behavior' property and one of the following is true:
449-
<ul>
450-
<li><var>behavior</var> is "<code>auto</code>" and <var>element</var> is not null and its computed value of the
451-
'scroll-behavior' property is ''scroll-behavior/smooth'', or
452-
<li><var>behavior</var> is <code>smooth</code>
453-
</ul>
454-
then perform a <a>smooth scroll</a> of <var>box</var> to <var>position</var>;
455-
otherwise, perform an <a>instant scroll</a> of <var>box</var> to <var>position</var>.
449+
<ul>
450+
<li><var>behavior</var> is "<code>auto</code>" and <var>element</var> is not null and its computed value of the
451+
'scroll-behavior' property is ''scroll-behavior/smooth'', or
452+
<li><var>behavior</var> is <code>smooth</code>
453+
</ul>
454+
then perform a <a>smooth scroll</a> of <var>box</var> to <var>position</var>;
455+
otherwise, perform an <a>instant scroll</a> of <var>box</var> to <var>position</var>.
456456
1. Wait until either the position has finished updating, or <var>scrollPromise</var> has been resolved.
457457
1. If <var>scrollPromise</var> is still in the pending state:
458458
1. If the scroll position changed as a result of this call, emit the <a event>scrollend</a> event.
@@ -1851,6 +1851,7 @@ means to run these steps:
18511851
1. Let <var>scrollPromise</var> be a new {{Promise}}.
18521852
1. Return <var>scrollPromise</var>, and run the remaining steps <a>in parallel</a>.
18531853
1. Resolve <var>scrollPromise</var> when all {{Promise}}s in <var>ancestorPromises</var> have settled.
1854+
18541855
</div>
18551856

18561857
<div algorithm>

0 commit comments

Comments
 (0)