@@ -446,13 +446,13 @@ the following steps must be run:
4464461. Let <var> scrollPromise</var> be a new {{Promise}} .
4474471. Return <var> scrollPromise</var> , and run the remaining steps <a>in parallel</a> .
4484481. 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> .
4564561. Wait until either the position has finished updating, or <var> scrollPromise</var> has been resolved.
4574571. 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:
185118511. Let <var> scrollPromise</var> be a new {{Promise}} .
185218521. Return <var> scrollPromise</var> , and run the remaining steps <a>in parallel</a> .
185318531. Resolve <var> scrollPromise</var> when all {{Promise}} s in <var> ancestorPromises</var> have settled.
1854+
18541855</div>
18551856
18561857<div algorithm>
0 commit comments