ight: 4px;
  }

  div::scroll-marker:target-current {
    background-color: green;
  }

  div:last-of-type::scroll-marker {
    margin-right: 0px;
  }
</style>
<div></div>
<div></div>
<div id="target"></div>
<script>
  promise_test(async t => {
    await new test_driver.Actions()
    .pointerMove(65, 20)
    .pointerDown()
    .pointerUp()
    .pointerDown()
    .pointerUp()
    .send();
    assert_equals(window.scrollY, 380);
    assert_equals(getComputedStyle(target, "::scroll-marker").backgroundColor, "r