Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
1.7
-
None
-
None
-
Operating System: Windows Vista
Platform: PC
Description
The SVGCSSStyler moves xml attributes found in the set on SVGStylingAttributes from the xml element into the style xml attribute. However, there are elements which have a fill attribute that should not be moved, namely animate/animateColor/animateMotion/animateTransform/set. For these elements, SVGCSSStyler exhibits incorrect behavior.
Attached is a patch which only moves the xml attributes into the style if it is found in the SVGStylingAttributes set and the element/attribute combination is not excluded. The exclusions are kept in a private mapping. This mapping can be added to in the future if other combinations of element/attribute should be excluded from being styled by the SVGCSSStyler.