Chromium Code Reviews
DescriptionMake scroll anchoring adjustment when the bounds of a scroller is changed
A layout update can change the bounds of a scroller, requiring us to clamp the
current scroll position if its outside the bounds of the scroller. This would
clear the saved scroll anchor and have a visible jump. The main issue is that
we would clear the anchor between ScrollAnchor::save and ScrollAnchor::restore.
This CL calls ::restore if clamping is needed to ensure that scroll anchoring
still works.
BUG=594876
Committed: https://crrev.com/ed3cc7f461c0a5c6ad66e509deace2e07674537c
Cr-Commit-Position: refs/heads/master@{#406277}
Patch Set 1 #Patch Set 2 : add comment #
Total comments: 1
Patch Set 3 : Fix bug for PLSA #Patch Set 4 : small fix #Patch Set 5 : Call restore from PLSA/FV #
Total comments: 2
Patch Set 6 : update comment + rebase #Patch Set 7 : fix failing tests #
Messages
Total messages: 22 (9 generated)
|
|||||||||||||||||||||||||||||||||||||