This test verifies scroll position restores/snaps correctly when a thumb drag
has been cancelled.
The general behavior is that the cancelling behavior is only for the
scrollbar's non-scrolling direction.
This test is expected to behave differently on Mac and Linux because those
platforms don't cancel scrolling when mouse cursor is out of a certain
range.