Chromium Code Reviews
DescriptionFix order of operations in LayoutView::mapAncestorToLocal
mapAncestorToLocal should first recurse, then apply each of the offsets/transforms
in the forward direction but inverse order.
The forward direction will be transformed to backwards direction by the TransformState state bit indicating "unapply inverse direction".
This was incorrectly fixed in https://codereview.chromium.org/1994203003.
Also, remove code to handle transforms on the LayoutView. It's impossible
to have such a transform from content. This code was added in:
https://chromium.googlesource.com/chromium/src/+/ce75f4f9824faae4464420cf9c96a6cf0fb85c77
without comment as to why.
BUG=613894
Committed: https://crrev.com/d74f43ae4a3e5cc9392c15728be21e3f2d14a1be
Cr-Commit-Position: refs/heads/master@{#408434}
Patch Set 1 #Patch Set 2 : none #Patch Set 3 : none #Patch Set 4 : none #
Total comments: 4
Patch Set 5 : none #
Messages
Total messages: 15 (7 generated)
|
||||||||||||||||||||||||||||