Kaydet (Commit) f5d4a688 authored tarafından Regina Henschel's avatar Regina Henschel Kaydeden (comit) jan iversen

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/23309Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
üst be2c79c0
...@@ -45,8 +45,8 @@ namespace svgio ...@@ -45,8 +45,8 @@ namespace svgio
{ {
if (SVGTokenDefs == getType()) if (SVGTokenDefs == getType())
{ {
// #i125258# call parent for SVGTokenDefs // tdf#98599 attributes may be inherit by the children, therefore read them
return SvgNode::getSvgStyleAttributes(); return checkForCssStyle("defs", maSvgStyleAttributes);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment