Fix by Mitz Pettel, reviewed by Hyatt.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2006 16:55:02 +0000 (16:55 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2006 16:55:02 +0000 (16:55 +0000)
commitd9976e8dd6d4277ddc83dc7546786ae3d1f14a5d
treed86fa08e510467dc536a4ee543bedb5be9972c84
parent0540588e79afffc6c36be240a13cc551d42c7b4e
    Fix by Mitz Pettel, reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9669
          Incomplete repaint when changing an inline's border

        Test: fast/repaint/line-overflow.html

        * rendering/RenderBlock.h:
        * rendering/bidi.cpp:
        (WebCore::RenderBlock::layoutInlineChildren): Added repaintTop and repaintBottom
        variables to track the vertical edges of the area that changed, accounting for
        lines that were deleted, inserted or moved. Removed unnecessary updating of
        m_overflowHeight.
        (WebCore::RenderBlock::determineStartPosition): Removed unnecessary updating of
        m_overflowHeight.
        (WebCore::RenderBlock::determineEndPosition):
        (WebCore::RenderBlock::matchedEndLine): Added repaintTop and repaintBottom
        arguments, which this method updates to account for deleted lines.
        (WebCore::RenderBlock::checkLinesForOverflow): Removed outdated FIXME.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/line-overflow-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/line-overflow-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/line-overflow-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/line-overflow.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.h
WebCore/rendering/bidi.cpp