Details
-
Bug
-
Status: In Progress
-
Resolution: Unresolved
-
1.5
-
None
-
None
-
Operating System: other
Platform: Other
Description
Batik passes
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<rect id="test" fill="#f00" width="100" height="100" />
<script type="text/ecmascript">
var test = document.getElementById('test');
var cssv = test.getPresentationAttribute("fill");
try
{
if (cssv.RGBColor.red) // should be rgbColor, see BATIK-540
}
catch (e)
</script>
</svg>
but fails the test if it is changed to
<rect id="test" fill="red" width="100" height="100" />