[SpatNav] Account for clipping in z-ordering checks
The spatial navigation algorithm attempts to prioritize targets fully contained within another target. However, the current implementation has a bug because it uses unclipped rects to determine containment. This CL fixes the issue by using MapToVisualRectInAncestorSpace which does account for clipping. Small cleanup: Remove the |ignore_border| option since it's always true. Bug: 957240 Change-Id: Id032bb9d354ec06d075b2de6bd53a8799f7a8af1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1586660Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#654878}
Showing
Please register or sign in to comment