DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34202>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34202
Summary: No proper RGBColor for color keywords
Product: Batik
Version: 1.5
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: CSS
AssignedTo: batik-dev@xxxxxxxxxxxxxx
ReportedBy: bjoern@xxxxxxxxxxxx
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 bug 34201
{
test.setAttributeNS(null, "fill", "green")
}
}
catch (e)
{
// ignore errors
}
</script>
</svg>
but fails the test if it is changed to
<rect id="test" fill="red" width="100" height="100" />
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|