2007-06-26 Mitz Pettel <mitz@webkit.org>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jun 2007 04:46:07 +0000 (04:46 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jun 2007 04:46:07 +0000 (04:46 +0000)
commitb7857372ddf7e81bb55101626a04595beac3fc58
treeb18fa9cc67817954b743d5a88e7d3bb2579e8954
parent7a72f6c4920f308c5a60e32cf098e7023ee35306
2007-06-26  Mitz Pettel  <mitz@webkit.org>

        Reviewed by Oliver.

        - fix http://bugs.webkit.org/show_bug.cgi?id=14329
          REGRESSION: TEXTAREA - cannot drag-and-drop text at en.wikipedia.org/

        Test: fast/repaint/text-selection-rect-in-overflow-2.html

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::computeAbsoluteRepaintRect): Added code to account
        for overflow scroll and columns.
        * rendering/RenderText.cpp:
        (WebCore::RenderText::selectionRect): Adjust for columns only in the
        non-clipped case, since RenderObject::absolutePosition() does not.

2007-06-26  Mitz Pettel  <mitz@webkit.org>

        Reviewed by Oliver.

        - repaint test for http://bugs.webkit.org/show_bug.cgi?id=14329
          REGRESSION: TEXTAREA - cannot drag-and-drop text at en.wikipedia.org/

        * fast/repaint/resources/text-selection-rect-in-overflow-frame.html: Added.
        * fast/repaint/text-selection-rect-in-overflow-2-expected.checksum: Added.
        * fast/repaint/text-selection-rect-in-overflow-2-expected.png: Added.
        * fast/repaint/text-selection-rect-in-overflow-2-expected.txt: Added.
        * fast/repaint/text-selection-rect-in-overflow-2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/resources/text-selection-rect-in-overflow-frame.html [new file with mode: 0644]
LayoutTests/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/text-selection-rect-in-overflow-2-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/text-selection-rect-in-overflow-2-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/text-selection-rect-in-overflow-2.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderObject.cpp
WebCore/rendering/RenderText.cpp