Skip to content
  • mitz@apple.com's avatar
    WebCore: · 8a089a4e
    mitz@apple.com authored
            Reviewed by Darin Adler.
    
            - fix <rdar://problem/6634768> Reproducible crash in RenderLayer::updateScrollCornerStyle() using full-page zoom at MobileMe Contacts
    
            Test: fast/events/scroll-during-zoom-change.html
    
            * dom/Document.cpp:
            (WebCore::Document::recalcStyle): Pause scheduled events during style
            reclaculation. Changes to the zoom property result in scroll events
            being generated during style recalc, and those events need to be
            deferred until the render tree is consistent.
            * page/FrameView.cpp:
            (WebCore::FrameView::layout): Changed to account for a case in which the
            post-layout tasks trigger a nested layout, which reactivates the
            post-layout task timer.
    
    LayoutTests:
    
            Reviewed by Darin Adler.
    
            - test for <rdar://problem/6634768> Reproducible crash in RenderLayer::updateScrollCornerStyle() using full-page zoom at MobileMe Contacts
    
            * fast/events/scroll-during-zoom-change-expected.txt: Added.
            * fast/events/scroll-during-zoom-change.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8a089a4e