Fix DnD autoscroll under root-layer-scrolls
The drag and drop autoscroll tests were timing out under root-layer-scrolls but autoscroll itself worked. The issue was that the LayoutView now owns the scrollbars when RLS is turned on so its bounding box is larger. This meant that the autoscroll activation region was further out so the test never activated autoscroll. This test fixes the issue by excluding the scrollbars when calculating the autoscroll regions. This means that the activation area starts from the scrollbar-content edge, rather than the window edge. Bug: 781431 Change-Id: Ifc0e03d8e5016055586f6242feddc7af50f90069 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_root_layer_scrolls Reviewed-on: https://chromium-review.googlesource.com/802519 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#521162}
Showing
Please register or sign in to comment