DescriptionAttempt scroll restoration anytime viewport size changes
Viewport size determines the scroll clamp boundaries so when it changes,
we should retry any pending scroll restoration in case it is blocked
due to clamping. This can happen when page scale changes.
Removed |FrameView::clampOffsetAtScale| as it was only ever used
with scale 1 and could be replaces with |ScrollableArea::clampScrollPosition|.
FrameView calls the restore method directly making it unnecessary for
ChromeClient to be involved.
BUG=522153
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201323
Patch Set 1 #Patch Set 2 : Fix minor bug #
Total comments: 3
Patch Set 3 : s/page()->frameHost()/m_frame->host()/ #
Messages
Total messages: 13 (4 generated)
|