ller.scrollTo(900, 900);
  assert_equals(scroller.scrollLeft, 900);
  assert_equals(scroller.scrollTop, 900);
}, "No snapping occurs if there is no valid snap position matches scroll-snap-type");

promise_test(async t => {
  // Start with valid snap positions.
  scroller.style.scrollSnapType = "y mandatory";
  document.querySelectorAll('.child').forEach(el => {
    el.style.scrollSnapAlign = 'start';
    t.add_cleanup(() => {
      el.style.scrollSnapAlign = '';
    });
  });
  scroller.scrollTo(100, 100);
