0px, 200px)`]
  // = (350px, 350px)
  //
  // Distance from other target:
  // `other target position (400px, 400px)` - `scroll position (150px, 150px)`
  // = (250px, 250px)
  //
  // Therefore if the "out-of-scrollport" scroll-margin contributes to the
  // calculation, then the other target would be snapped to. However if the
  // scroll-margin is not considered, then the (0px, 0px) target should be
  // snapped to.
  scroller.scrollTo(150, 150);
  assert_equals(scroller.scrollLeft, 0);
  assert_equals(s