Have atk_text_set_caret_offset scroll to nearest edge

The platform-independent code already takes care of this in the way we
expect, so we can fix issues we see with scrolling simply by not
triggering an extra scroll here.

Bug: 950530
Change-Id: Ie337baa8c538222506d2f60c72d4366548beb147
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687524
Reviewed-by: Joanmarie Diggs <jdiggs@igalia.com>
Commit-Queue: Martin Robinson <mrobinson@igalia.com>
Cr-Commit-Position: refs/heads/master@{#674867}
2 files changed