https://issues.apache.org/bugzilla/show_bug.cgi?id=49549
Summary: SVGCSSStyler places 'fill' in style attribute for
animate/animateColor/animateMotion/animateTransform/se
t elements
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: SVGGraphics2D
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25697)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25697)
A patch implementing exclusions to the css styling process
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.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]