roller);

  // Document scroller no longer snaps.
  document_scroller.scrollTo(0, 400);
  assert_equals(document_scroller.scrollTop, 400);

  // Inserted scroller snaps.
  inserted_scroller.scrollTo(0, 10);
  assert_equals(inserted_scroller.scrollTop, 500);
 }, "Attaching a new element that is scrollable should assign the correct snap\
 areas to it.");
</script>
