Hi Cameron,
I (very unfortunately) agree this is a bug.
Cameron McCormack wrote:
Hi.
I just want to confirm that this is a bug. With this document:
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
<style type="text/css">
circle { fill: green; }
</style>
<g id="g">
<style type="text/css">
circle { fill: red; }
</style>
</g>
<circle cx="200" cy="200" r="100" onclick="f()"/>
<script>
function f() {
var g = document.getElementById("g");
g.parentNode.removeChild(g);
}
</script>
</svg>
after clicking on the circle it doesn't turn green. Is this the
expected behaviour? If not, it's not too hard to fix (just do some
recursion in the DOMNodeInsertedListener and DOMNodeRemovedListener)
but I just wanted to make sure first.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]