LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 20:42:50 +0000 (20:42 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 20:42:50 +0000 (20:42 +0000)
commit09829ad41a71abba1edb1ac052e6412919a046e2
tree1a06b94d0e362ff7282afca113d5bb8b8678934a
parent82982ed373fa283d714e563e2cd9f936a8387c69
LayoutTests:

        - test for <rdar://problem/5292364> REGRESSION: ZX Spectrum 3.0 widget - graphic anomalies in widget window frame

        * fast/canvas/fill-stroke-clip-reset-path-expected.checksum: Added.
        * fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
        * fast/canvas/fill-stroke-clip-reset-path-expected.txt: Added.
        * fast/canvas/fill-stroke-clip-reset-path.html: Added.

WebCore:

        Reviewed by Oliver Hunt.

        - fix <rdar://problem/5292364> REGRESSION: ZX Spectrum 3.0 widget - graphic anomalies in widget window frame

        Updated Dashboard quirk so it affects fill, stroke, and clip, rather than just stroke.

        Test: fast/canvas/fill-stroke-clip-reset-path.html

        * html/CanvasRenderingContext2D.h: Added clearPathForDashboardBackwardCompatibilityMode.
        * html/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::clearPathForDashboardBackwardCompatibilityMode): Added.
        (WebCore::CanvasRenderingContext2D::fill): Call the new function.
        (WebCore::CanvasRenderingContext2D::stroke): Replaced in-line code with a call to the new function.
        (WebCore::CanvasRenderingContext2D::clip): Call the new function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.checksum [new file with mode: 0644]
LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.png [new file with mode: 0644]
LayoutTests/fast/canvas/fill-stroke-clip-reset-path-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/fill-stroke-clip-reset-path.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/CanvasRenderingContext2D.cpp
WebCore/html/CanvasRenderingContext2D.h