Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.12.4
-
None
Description
if a SVG image has a CSS stylesheet, and an item matches to a CSS class which defines a fill color as !important, a "fill:.." in the inline style attribute of the element should then be ignored, but this doesn't work in QtSvg.
Attached a svg that has a single rectangle which has fill defined as #00FF00 and !important in the css, and has style="fill:#FF0000" inline in the rectangle element.
QtSvg shows a red rectangle, while chromium shows a green rectangle (which is correct)