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.

Thanks,

Cameron

-- 
  e-mail : cam (at) mcc.id.au           icq : 26955922
     web : http://mcc.id.au/            msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779              jabber : heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to