2008-11-11 Dirk Schulze <vbs85@gmx.de>
authorkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2008 17:40:54 +0000 (17:40 +0000)
committerkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2008 17:40:54 +0000 (17:40 +0000)
commit1d746d73ff043d1b96268fc1817247ff4828c784
treef95a47aa7692d63a1fec4b9df07f252a43267b0a
parent42ccaa76ef814d204a463bddc32aa773eedee578
2008-11-11  Dirk Schulze  <vbs85@gmx.de>

WebCore:

        Reviewed by Darin Adler.

        Removed default: in applySpreadMethod. This causes the problems
        in radial gradients. We don't need CAIRO_EXTEND_NONE in SVG, Canvas
        or CSS.

        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::applySpreadMethod):

LayoutTests:

        Reviewed by Darin Adler.

        Check behavior of default spreadMethod on radial gradients.

        * fast/canvas/canvas-radial-gradient-spreadMethod-expected.txt: Added.
        * fast/canvas/canvas-radial-gradient-spreadMethod.html: Added.
        * fast/canvas/canvas-radial-gradient-spreadMethod.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-radial-gradient-spreadMethod-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/canvas-radial-gradient-spreadMethod.html [new file with mode: 0644]
LayoutTests/fast/canvas/canvas-radial-gradient-spreadMethod.js [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp