| Index: third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds.html
|
| diff --git a/third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds.html b/third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds.html
|
| index b7542ae6fbd94ddb5eeb1a97e2a06e4fff002df0..bc554d9c41be61d5472755b109190bb5ce8354cb 100644
|
| --- a/third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds.html
|
| +++ b/third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds.html
|
| @@ -19,9 +19,6 @@
|
| });
|
| observer.observe(target);
|
|
|
| - // TODO(szager): It shouldn't be necessary to RAF after the call to observer()
|
| - // and before changing the scroll position, but it is.
|
| -
|
| function step0() {
|
| setTimeout(function() {
|
| shouldBeEqualToNumber("entries.length", 0);
|
| @@ -184,5 +181,6 @@
|
| document.scrollingElement.scrollTop = 0;
|
| });
|
| }
|
| - requestAnimationFrame(step0);
|
| +
|
| + step0();
|
| </script>
|
|
|