Closed GoogleCodeExporter closed 8 years ago
Let me describe my use case a little more:
I need to show some gadgets which content is rendered in svg (thanks to your
excellent framework, beside this issue :) )
The gadgets need to add some presentation elements around the svg document
(title
bar, window like frame and so on) using any JavaScript framework widget, which
is why
I need to remove them from their original place to insert them into whatever
JavaScript will have generated.
I cannot render the presentation elements before, hard coded in HTML, since
they are
generated on window.onload.(think GWT widgets, dojo widgets, jquery widgets ...)
Original comment by guillaum...@gmail.com
on 25 Oct 2009 at 6:05
We don't support removing SVG root nodes or SVG OBJECTs from their parent, like
you
do with the DIV. You must remove just the SVG root node or SVG OBJECT using
svgweb.removeChild. This is an unfortunate limitation necessary since we don't
want
to hijack the HTML machinery which would be necessary to know if any HTML node
has
nested SVG content. See here for instructions on svgweb.removeChild:
http://codinginparadise.org/projects/svgweb/docs/UserManual.html#dynamic
Part of that is unimplemented, which I am working on this week in Issue 202,
which
includes svgweb.removeChild for SVG roots.
This bug is a candidate for closing WONTFIX.
Original comment by bradneub...@gmail.com
on 27 Oct 2009 at 9:48
Original comment by bradneub...@gmail.com
on 27 Oct 2009 at 9:48
Like I mentioned, you must use svgweb.removeChild. Marking this bug INVALID.
Original comment by bradneub...@gmail.com
on 5 Nov 2009 at 11:53
Original issue reported on code.google.com by
guillaum...@gmail.com
on 25 Oct 2009 at 5:38