LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Aug 2006 06:13:20 +0000 (06:13 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Aug 2006 06:13:20 +0000 (06:13 +0000)
commit4a96852cabd2de665342fa43fe9149f8b7f59943
tree7cf2deb10cf0505a88c0bfc9d872a7c67027b8e3
parent6c7fd4d1e99ef6713754309f85d5279e6d18f94e
LayoutTests:

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10158
          REGRESSION: Selection highlight is dark and opaque when solid-color images are used

        Reviewed by Darin.

        * fast/backgrounds/solid-color-context-restore-expected.checksum: Added.
        * fast/backgrounds/solid-color-context-restore-expected.png: Added.
        * fast/backgrounds/solid-color-context-restore-expected.txt: Added.
        * fast/backgrounds/solid-color-context-restore.html: Added.

WebCore:

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10158
          REGRESSION: Selection highlight is dark and opaque when solid-color images are used

        Reviewed by Darin.

        Pixel test: fast/backgrounds/solid-color-context-restore.html

        * platform/mac/ImageMac.mm:
        (WebCore::Image::draw): Added calls to preserve the graphics context
        around the painting of a solid color image.
        (WebCore::Image::drawTiled): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/backgrounds/solid-color-context-restore-expected.checksum [new file with mode: 0644]
LayoutTests/fast/backgrounds/solid-color-context-restore-expected.png [new file with mode: 0644]
LayoutTests/fast/backgrounds/solid-color-context-restore-expected.txt [new file with mode: 0644]
LayoutTests/fast/backgrounds/solid-color-context-restore.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/mac/ImageMac.mm