Chromium Code Reviews
DescriptionRemove workaround for paint invalidation about percentage transform
It was for descendants of objects with percentage transform, to handle
the case that paint offset changed but no other paint invalidation
geometry changed.
Now the case is covered by the ancestor location change condition.
Paint offset change should either caused by self layout change,
self location change or ancestor location change, all of which are
handled properly by the current code.
Debugged a bit with the test case and the version that the logic was
added (https://crrev.com/787d405d41fcb60aa0a8e45b0c6e5d4a9bbe75d5),
and found that positionFromPaintInvalidationBacking of the transformed
contiainer was incorrect. It kept unchanged when running the test.
In the current code the value is correct.
BUG=533277
TEST=paint/invalidation/percentage-transform-paint-offset.html
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/469897a8f942f3e8fa46ad71a5c2bac8f3bdcba0
Cr-Commit-Position: refs/heads/master@{#431419}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 16 (10 generated)
|
||||||||||||||||||||||||||||