2006-04-28 Mitz Pettel <opendarwin.org@mitzpettel.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2006 16:02:45 +0000 (16:02 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2006 16:02:45 +0000 (16:02 +0000)
commit6acd962144a17a9153d2803a733fc7d78fc0d954
tree6147c9f46fabcecafd5e3d2edee76360dcc8c8aa
parent79cf7908c31054b1b71bbd8f6023f04b7cc4f464
2006-04-28  Mitz Pettel  <opendarwin.org@mitzpettel.com>

        Reviewed by hyatt, landed by ap.

WebCore:
        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6769
          REGRESSION: Incomplete repaint when a cell's extra bottom margin grows

        Test: fast/repaint/table-extra-bottom-grow.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::overflowRect): Changed to not add the top/left overflow twice and
        allow the normal overflow height to overlap with the bottom extra height.
        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::layout): Removed the code that resets the extra heights.
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::layoutRows): If the top extra height changed or the
        bottom extra height increased, just repaint the entire cell.

LayoutTests:
        * fast/repaint/table-extra-bottom-grow-expected.checksum: Added.
        * fast/repaint/table-extra-bottom-grow-expected.png: Added.
        * fast/repaint/table-extra-bottom-grow-expected.txt: Added.
        * fast/repaint/table-extra-bottom-grow.html: Added.
        * fast/repaint/table-cell-moved-expected.checksum: Removed excessive painting.
        * fast/repaint/table-cell-moved-expected.png: Ditto.
        * fast/repaint/bugzilla-6278-expected.checksum: Ditto.
        * fast/repaint/bugzilla-6278-expected.png: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/repaint/bugzilla-6278-expected.checksum
LayoutTests/fast/repaint/bugzilla-6278-expected.png
LayoutTests/fast/repaint/table-cell-move-expected.checksum
LayoutTests/fast/repaint/table-cell-move-expected.png
LayoutTests/fast/repaint/table-extra-bottom-grow-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/table-extra-bottom-grow-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/table-extra-bottom-grow-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/table-extra-bottom-grow.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderTableRow.cpp
WebCore/rendering/RenderTableSection.cpp