2006-09-19 Eric Seidel <eric@eseidel.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 05:26:46 +0000 (05:26 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 05:26:46 +0000 (05:26 +0000)
commitb7e4ffd01c078d754b18ef4039c1213efca3d252
tree27f413f5035da9b2ff21fecec7ff604272377d46
parentecfcc9ee3fe7d0ff0e5d0c6e7fa770ad86c306dc
2006-09-19  Eric Seidel  <eric@eseidel.com>

        Reviewed by adele.

        Markers should clip to their viewport.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5967

        Test: svg/custom/marker-overflow-clip.svg

        * kcanvas/KCanvasResources.cpp:
        (WebCore::KCanvasMarker::KCanvasMarker):
        (WebCore::KCanvasMarker::setMarker):
        (WebCore::KCanvasMarker::draw):
        * kcanvas/KCanvasResources.h:
        (WebCore::KCanvasMasker::mask):
        * ksvg2/svg/SVGMarkerElement.cpp:
        (WebCore::SVGMarkerElement::SVGMarkerElement):
        (WebCore::SVGMarkerElement::parseMappedAttribute):
        (WebCore::SVGMarkerElement::canvasResource):
        (WebCore::SVGMarkerElement::createRenderer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/custom/marker-overflow-clip-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/marker-overflow-clip-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/marker-overflow-clip-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/marker-overflow-clip.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/kcanvas/KCanvasResources.cpp
WebCore/kcanvas/KCanvasResources.h
WebCore/kcanvas/RenderSVGContainer.h
WebCore/ksvg2/svg/SVGMarkerElement.cpp