The ScrollableArea and ScrollAnimator API is a bit confusing when it comes to scrolling to offsets and positions. It isn't always clear when these APIs will trigger an animation and we are missing some opportunities to use "native" animations on Mac. These APIs also require a lot of conversion back and forth between offsets and positions. Finally, cleaning up this API will allow us to use native animations to do scroll snapping during thumb dragging.
Created attachment 420957 [details] Patch
Created attachment 420970 [details] Patch
Created attachment 421167 [details] Patch
Committed r273275: <https://commits.webkit.org/r273275> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421167 [details].
<rdar://problem/74611765>