Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.5
-
None
-
None
-
Operating System: Windows 2000
Platform: PC
Description
For e.g.
<svg ...>
<rect x="100" height="100" width="100" fill="#00f" onmouseover="alert
(evt.target.getPresentationAttribute('fill').paintType)"/>
<rect x="200" height="100" width="100" fill="blue" onmouseover="alert
(evt.target.getPresentationAttribute('fill').paintType)"/>
<rect x="300" height="100" width="100" fill="currentColor" onmouseover="alert
(evt.target.getPresentationAttribute('fill').paintType)"/>
</svg>
Batik 1.5.x alerts (the numerical value for)
SVG_PAINTTYPE_RGBCOLOR
SVG_PAINTTYPE_URI_CURRENTCOLOR
SVG_PAINTTYPE_URI_CURRENTCOLOR
The second case should be SVG_PAINTTYPE_RGBCOLOR.