diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-26 22:16:12 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-26 23:15:03 +0200 |
commit | 9951ffedd6941234447b9655fbc49ed6ca4cc64c (patch) | |
tree | 6bd1034aa6888b6c48a5ba6b4714a5736064ba83 /svgio/qa/cppunit | |
parent | 1be3ab048d417611055a76d1776a0a69eb6fc6dd (diff) |
Revert "tdf#132246, tdf#155735: Add support for SourceAlpha"
This reverts commit 75399b8aad6c0f0998b9d0a6eddb2e29f8bc114c.
it was incomplete.
While at it, do not parse 'in' attribute for now, so only
in="SourceGraphic" is used.
Implementing the 'in' attribute is not trivial
Change-Id: I66c721c1144638f5e3759e0aa3a1c2c062499a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153627
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/qa/cppunit')
-rw-r--r-- | svgio/qa/cppunit/SvgImportTest.cxx | 3 | ||||
-rw-r--r-- | svgio/qa/cppunit/data/filterFeGaussianBlur.svg | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx index 7607a5593256..c3bbc0f9c211 100644 --- a/svgio/qa/cppunit/SvgImportTest.cxx +++ b/svgio/qa/cppunit/SvgImportTest.cxx @@ -179,8 +179,7 @@ CPPUNIT_TEST_FIXTURE(Test, testFilterFeGaussianBlur) CPPUNIT_ASSERT (pDocument); - assertXPath(pDocument, "/primitive2D/transform/modifiedColor", "modifier", "alpha"); - assertXPath(pDocument, "/primitive2D/transform/modifiedColor/softedge", "radius", "5"); + assertXPath(pDocument, "/primitive2D/transform/softedge", "radius", "5"); } CPPUNIT_TEST_FIXTURE(Test, testTdf87309) diff --git a/svgio/qa/cppunit/data/filterFeGaussianBlur.svg b/svgio/qa/cppunit/data/filterFeGaussianBlur.svg index 917a7592d51d..e8fd73068a0b 100644 --- a/svgio/qa/cppunit/data/filterFeGaussianBlur.svg +++ b/svgio/qa/cppunit/data/filterFeGaussianBlur.svg @@ -4,7 +4,7 @@ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <filter id="blurMe"> - <feGaussianBlur in="SourceAlpha" stdDeviation="5"/> + <feGaussianBlur in="SourceGraphic" stdDeviation="5"/> </filter> <circle cx="170" cy="60" r="50" fill="green" filter="url(#blurMe)" /> </svg> |