DescriptionUse full mapLocalToAncestor machinery in ScrollingCoordinator.
ScrollingCoordinator walks down the frame tree calculating
non-fast-scrollable regions in global coordinates. Previously, it
assumed that mapping coordinates from an iframe to its parent frame
just consisted of applying an offset; but an iframe can have an
arbitrary transform applied to it.
This change makes ScrollingCoordinator map coordinates to the top
level using the canonical code path, i.e., mapLocalToAncestor.
R=chrishtr@chromium.org,skobes@chromium.org
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2657183002
Cr-Commit-Position: refs/heads/master@{#447114}
Committed: https://chromium.googlesource.com/chromium/src/+/a84f6044bfe3bc52dde4c2cdddbbc92be1b56ab1
Patch Set 1 #Patch Set 2 : test expectations #
Total comments: 5
Patch Set 3 : Comments and nits #Patch Set 4 : rebase #Patch Set 5 : Delete unused test file #Dependent Patchsets: Messages
Total messages: 20 (12 generated)
|