WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Mar 2009 19:02:08 +0000 (19:02 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Mar 2009 19:02:08 +0000 (19:02 +0000)
commit365fdfc32130cebd2a7187c582d9661653605109
treecdc376df34d88fa07efe6542988d0893815855a2
parentc5f64264d4bc5811140c6b7baa2768f791b1e13a
WebCore:

        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: https://svn.webkit.org/repository/webkit/trunk@41338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/scroll-during-zoom-change-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/scroll-during-zoom-change.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.cpp
WebCore/page/FrameView.cpp