 assertPseudoElementProperty(target, "::scroll-marker", "rgb(255, 0, 0)");
  }, "::scroll-marker is not activated when its originating element is not scrolled into the view");
  promise_test(async () => {
    scroller.scrollTop = 150;
    await waitForAnimationFrames(2);
    assertPseudoElementProperty(target, "::scroll-marker", "rgb(0, 128, 0)");
  }, "::scroll-marker is activated when its originating element is scrolled into the view");
</script>
