2009-10-12 Dirk Schulze <krit@webkit.org>
authorkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Oct 2009 21:15:12 +0000 (21:15 +0000)
committerkrit@webkit.org <krit@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Oct 2009 21:15:12 +0000 (21:15 +0000)
commit35223706561174b95da2f87a64ee9eaadbd3b3de
tree599d3e84770e5613443c76f169b648477726529f
parent477582f5cbb241039cfca623bb1ae35df2fcaaeb
2009-10-12  Dirk Schulze  <krit@webkit.org>

        Reviewed by Eric Seidel.

        SVG - crash on feMerge when input not available
        [https://bugs.webkit.org/show_bug.cgi?id=30297]

        Make a early return in SVGFEMergeElement if the needed
        filter effect doesn't exist.

        Test: svg/filters/feMerge-wrong-input.svg

        * svg/SVGFEMergeElement.cpp:
        (WebCore::SVGFEMergeElement::build):

2009-10-12  Dirk Schulze  <krit@webkit.org>

        Reviewed by Eirc Seidel.

        feMergeNod has a reference to an effect that doesn't exist. This test will
        check if SVGFEMergeElement handles this correctly and stops the filter process.

        * svg/filters/feMerge-wrong-input-expected.checksum: Added.
        * svg/filters/feMerge-wrong-input-expected.png: Added.
        * svg/filters/feMerge-wrong-input-expected.txt: Added.
        * svg/filters/feMerge-wrong-input.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/filters/feMerge-wrong-input-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/filters/feMerge-wrong-input-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/filters/feMerge-wrong-input-expected.txt [new file with mode: 0644]
LayoutTests/svg/filters/feMerge-wrong-input.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/svg/SVGFEMergeElement.cpp