Skip to content
  • commit-queue@webkit.org's avatar
    Source/WebCore: Allow updateFixedElementsAfterScrolling() to run during layout. · 6a5f283f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=84965
    
    This is needed because HistoryController restores the previous scroll
    position during layout (because we don't want an ugly flash of wrongly-
    scrolled content).
    
    Patch by Iain Merrick <husky@google.com> on 2012-06-18
    Reviewed by Simon Fraser.
    
    Test: compositing/fixed-position-scroll-offset-history-restore.html
    
    * page/FrameView.cpp:
    (WebCore::FrameView::updateFixedElementsAfterScrolling):
    
    LayoutTests: Allow updateFixedElementsAfterScrolling() to run during layout.
    https://bugs.webkit.org/show_bug.cgi?id=84965
    
    This is needed because HistoryController restores the previous scroll
    position during layout (because we don't want an ugly flash of wrongly-
    scrolled content).
    
    Patch by Iain Merrick <husky@google.com> on 2012-06-18
    Reviewed by Simon Fraser.
    
    * compositing/fixed-position-scroll-offset-history-restore-expected.txt: Added.
    * compositing/fixed-position-scroll-offset-history-restore.html: Added.
    * compositing/resources/fixed-position-scroll-offset-history-restore-2.html: Added.
    * platform/chromium-linux/compositing/fixed-position-scroll-offset-history-restore-expected.png: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6a5f283f