diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx index 8256f6392725..4cab973b5003 100644 --- a/svgio/qa/cppunit/SvgImportTest.cxx +++ b/svgio/qa/cppunit/SvgImportTest.cxx @@ -434,6 +434,14 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf145896) assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor[3]"_ostr, "color"_ostr, "#0000ff"); } +CPPUNIT_TEST_FIXTURE(Test, testTdf156579) +{ + xmlDocUniquePtr pDocument = dumpAndParseSvg(u"/svgio/qa/cppunit/data/tdf156579.svg"); + + // Without the fix in place, nothing would be displayed + assertXPath(pDocument, "/primitive2D/transform/mask/transform/polypolygoncolor[1]"_ostr, "color"_ostr, "#0000ff"); +} + CPPUNIT_TEST_FIXTURE(Test, testTdf156168) { xmlDocUniquePtr pDocument = dumpAndParseSvg(u"/svgio/qa/cppunit/data/tdf156168.svg"); diff --git a/svgio/qa/cppunit/data/tdf156579.svg b/svgio/qa/cppunit/data/tdf156579.svg new file mode 100644 index 000000000000..27610784dd87 --- /dev/null +++ b/svgio/qa/cppunit/data/tdf156579.svg @@ -0,0 +1,8 @@ + + + + + + + +