Re: SVG in Firebug, large memory leak?

Steven Roussey <[email protected]> Fri, 18 Dec 2009 09:04:18 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.svg
Organization http://groups.google.com
Message-ID <[email protected]>
On Dec 18, 8:53 am, Boris Zbarsky <[email protected]> wrote:
> On 12/18/09 12:14 AM, Steven Roussey wrote:
>
> > Now if you play in the style tab and turn on/off the fill and stroke,
> > etc a few times
>
> This part could really use more specific directions.

In the image here:
http://fbug.googlecode.com/issues/attachment?aid=1877902685949581625&name=Capture.PNG&inline=1

On the right side of the image you see the Style panel. If you hover
over the style info there you see a shaded out 'x' appear which lets
you turn that style off and on. For example, clicking to the left of
"fill: #6666ff" removes the style temporarily. Changing the color has
a similar effect.

> > I don't know what would be
> > causing such a heavy memory usage. Any ideas?
>
> Not offhand, though there are several options: it could be Firebug
> itself, it could be the SVG code, etc.
>
> What exactly happens when you "turn on/off" those properties, on the
> code level?

Since it is an inline style, it should just be changing the SVG
element's style attribute. There is no special code at the point for
SVG. I was a little surprised it all worked.

-steve--