2011-05-31 Simon Fraser <simon.fraser@apple.com>
authorSimon Fraser <simon.fraser@apple.com>
Tue, 31 May 2011 14:20:05 +0000 (14:20 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 31 May 2011 18:40:51 +0000 (15:40 -0300)
commitde5d05ba5c0b39499480a656261b701ea1a6da0a
tree83f90899843bf5ee54188b37460a9c03510dad28
parentcbc9e964e00979f9d49408ebd465cb6080bc5933
2011-05-31  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Kenneth Rohde Christiansen.

        Frame flattening is broken with nested frames
        https://bugs.webkit.org/show_bug.cgi?id=61491

        * fast/frames/flattening/iframe-flattening-nested.html: Added.
        * fast/frames/flattening/resources/inner-frame.html: Added.
        * fast/frames/flattening/resources/intermediate-frame.html: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-nested-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-nested-expected.txt: Added.
2011-05-31  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Frame flattening is broken with nested frames
        https://bugs.webkit.org/show_bug.cgi?id=61491

        After r77988, when frame flattening is enabled, performPostLayoutTasks() is called on a timer for iframes.
        This causes layout of nested iframes to sometimes happen asynchronously, but WebCore expects layout to always finish synchronously.
        Added a call to updateWidgetPosition() for cases that performPostLayoutTasks() is now happening asynchronously.

        Test: fast/frames/flattening/iframe-flattening-nested.html

        * page/FrameView.cpp:
        (WebCore::FrameView::layout):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/frames/flattening/iframe-flattening-nested.html [new file with mode: 0644]
LayoutTests/fast/frames/flattening/resources/inner-frame.html [new file with mode: 0644]
LayoutTests/fast/frames/flattening/resources/intermediate-frame.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-nested-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-nested-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp