>>>>> "CM" == Cameron McCormack <[EMAIL PROTECTED]> writes:

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

    Please do report it.  Your test is a pretty good one.

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

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

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

    Correct this is a bug.  Unfortunately it is a hard bug to fix, it
means that we have to have a new state for rendering nodes.  Existant
but non-functional.  This also gets to our (mis)handling of 'display'
(which has the same issue).


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

Reply via email to