[Libreoffice-commits] core.git: svgio/source
Regina Henschel
rb.henschel at t-online.de
Thu Mar 17 07:43:34 UTC 2016
svgio/source/svgreader/svggnode.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f5d4a688346a939a58b1df69d771dede177b3370
Author: Regina Henschel <rb.henschel at t-online.de>
Date: Wed Mar 16 18:51:48 2016 +0100
tdf#98599 SVG: consider attributes of 'defs' element
The element 'defs' is not rendered, but children of it may
inherit the attributes. Therefore these has to be considered.
Change-Id: Ic6c21645439731db63f22adf5a5a4e2af2b74b71
Reviewed-on: https://gerrit.libreoffice.org/23309
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/svgio/source/svgreader/svggnode.cxx b/svgio/source/svgreader/svggnode.cxx
index a4bc674..2f55378 100644
--- a/svgio/source/svgreader/svggnode.cxx
+++ b/svgio/source/svgreader/svggnode.cxx
@@ -45,8 +45,8 @@ namespace svgio
{
if (SVGTokenDefs == getType())
{
- // #i125258# call parent for SVGTokenDefs
- return SvgNode::getSvgStyleAttributes();
+ // tdf#98599 attributes may be inherit by the children, therefore read them
+ return checkForCssStyle("defs", maSvgStyleAttributes);
}
else
{
More information about the Libreoffice-commits
mailing list