LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2006 18:45:08 +0000 (18:45 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2006 18:45:08 +0000 (18:45 +0000)
commitc3e59bf30e5f01ee6f09f5011b2e547271a8a238
treec2dede382325c63c77e751da4158226de5af7b99
parentfc8cddf48202ddb6e930a9f500063a3278b1646d
LayoutTests:

        Reviewed by Darin, committed by Adele.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
          Selection highlight doesn't scroll along with an image contained in an overflow:scroll block

        * fast/overflow/image-selection-highlight-expected.checksum: Added.
        * fast/overflow/image-selection-highlight-expected.png: Added.
        * fast/overflow/image-selection-highlight-expected.txt: Added.
        * fast/overflow/image-selection-highlight.html: Added.

WebCore:

        Test: fast/overflow/image-selection-highlight.html

        Reviewed by Darin, committed by Adele.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
          Selection highlight doesn't scroll along with an image contained in an overflow:scroll block

        * rendering/render_replaced.cpp:
        (WebCore::RenderReplaced::selectionRect): Subtract the containing block's scroll offset.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/overflow/image-selection-highlight-expected.checksum [new file with mode: 0644]
LayoutTests/fast/overflow/image-selection-highlight-expected.png [new file with mode: 0644]
LayoutTests/fast/overflow/image-selection-highlight-expected.txt [new file with mode: 0644]
LayoutTests/fast/overflow/image-selection-highlight.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/render_replaced.cpp