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=34115>. 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=34115 Summary: CSSStyleDeclaration does not collapse properties Product: Batik Version: 1.5 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: CSS AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] For <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <rect id="test" fill="green" style="fill:red;fill:green" x="0" y="0" width="100" height="100" /> <script type="text/ecmascript"> var test = document.getElementById('test'); try { if (test.style.length != 1) { test.setAttributeNS(null, "fill", "red") test.removeAttributeNS(null, "style"); } } catch (e) { test.setAttributeNS(null, "fill", "red") test.removeAttributeNS(null, "style"); } </script> </svg> Batik should show a green rect, not a red one. This is not very obvious from the specification but the only reasonable behavior; Mozilla does it properly (for HTML documents, at least). -- 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
