Chromium Code Reviews
DescriptionCompute and include the offset of the sticky box to its enclosing composited layer.
When the main thread moves a sticky object we try to determine how far it was moved
in cc/ to know how much more we still have to move it. However, when the sticky
object is in a composited layer we need to know the expected offset from that layer
rather than from the scroll ancestor.
BUG=649102
TEST=LayerTreeHostCommonTest.StickyPositionCompositedContainer, ScrollingCoordinatorTest.fastScrollingForStickyPosition
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/68e1c292942bc96e212048b7993500244a47dc41
Cr-Commit-Position: refs/heads/master@{#424451}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add missing test data, fix comment and proto. #Patch Set 3 : Merge with master and fix long line. #Messages
Total messages: 23 (15 generated)
|