https://bugs.freedesktop.org/show_bug.cgi?id=87309
Bug ID: 87309
Summary: In svg import attribute value currentColor is not
resolved, if color attribute is missing
Product: LibreOffice
Version: unspecified
Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Drawing
Assignee: [email protected]
Reporter: [email protected]
Open the attachment https://bugs.freedesktop.org/attachment.cgi?id=110836 from
issue 62284.
LibreOffice acts very slow and at the end, the image is empty.
Reason: The fill value currentColor is not resolved, because there exists no
color attribute in the file. And in contrast to a browser environment there
exist no default value from the target document or from a default css.
For a workaround write the attribute color="black" (or any other color you
like) into the outermost svg element of the file.
In case of this special file, setting black as default color in the branch
"currentColor" in /core/svgio/source/svgreader/svgtools.cxx would help. But I
think it should not be solved there. I suggest to set a default value for the
color attribute at the outermost svg element, but that should be discussed.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs