svg_loader: proper precedence of a styling 24/289024/1
authorMira Grudzinska <m.grudzinska@samsung.com>
Mon, 17 Jan 2022 23:06:21 +0000 (00:06 +0100)
committerMichal Szczecinski <mihashco89@gmail.com>
Mon, 27 Feb 2023 09:52:05 +0000 (10:52 +0100)
commit6932709d535b23dbaaab67ce300adf96c8e9332c
tree93fd1d62ac5a192000d198cb862e72b335c95fd8
parent3c14a2cc49adb491f96c722d452c1cd909ca92a6
svg_loader: proper precedence of a styling

The attribute values should be copied from a style node only if they
were set in the destination node using the attributes (in opocity to
a style attribute). A proper copyCssStyleAttr() function is introduced.

Change-Id: Iaaa0c2b561c2bea276617bfd87dc26ed80bb4bbd
src/loaders/svg/tvgSvgLoader.cpp