Hi.

I had a look through the bugzilla to see if this was already reported,
but I couldn't see it.

This example doesn't display the rect after the script gets run:

  <svg xmlns="http://www.w3.org/2000/svg"; width="200" height="200" viewBox="0 0 200 
200">
    <rect id="r" x="50" y="50" width="0" height="0" stroke="black" stroke-width="3" 
fill="yellow"/>
    <script language="text/ecmascript">
      var r = document.getElementById("r");
      r.setAttribute("width", 100);
      r.setAttribute("height", 100);
    </script>
  </svg>

I know the spec says that rendering of the rect should be disabled if
either the width or height is 0, but surely this doesn't mean even if
it's changed to a non-zero later?

Thanks,

Cameron

-- 
Cameron McCormack
  // [EMAIL PROTECTED]
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922

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

Reply via email to