2011-06-03 Yael Aharon <yael.aharon@nokia.com>
authorYael Aharon <yael.aharon@nokia.com>
Fri, 3 Jun 2011 13:47:02 +0000 (13:47 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 13 Jul 2011 13:09:18 +0000 (10:09 -0300)
commit3b8d474930b4716b415b997ed8dfbc1aa6f6352f
tree1099239e95ef93fb4565790e665bbf8d5b7ed0e1
parentbf3faacf96b28698c2299cbf23ce76091bd680b0
2011-06-03  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

        * fast/frames/flattening/iframe-flattening-out-of-view.html: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt: Added.
        * fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt: Added.
        * fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt: Added.
2011-06-03  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

        Do not flatten offscreen iframes during frame flattening, as flattening might make them visible.

        Test: fast/frames/flattening/iframe-flattening-out-of-view.html
              fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html
              fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html

        * rendering/RenderIFrame.cpp:
        (WebCore::RenderIFrame::flattenFrame):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html [new file with mode: 0644]
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html [new file with mode: 0644]
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderIFrame.cpp