On Friday, May 10, 2002, 4:28:08 PM, Jim wrote: JL> elements created with createElement(..) aren't rendered, but those JL> created with createElementNS('http://www.w3.org/2000/svg','rect') are, JL> it's an annoying bug, but not cripplingly so.
Why do you say its a bug? Why would Batik render elements that are not in the SVG namespace? JL> getBBox() doesn't work until the element has been added to the document - JL> you get a nullpointer exception (this isn't surprising) but it's JL> different to ASV's which very usefully allows you to get the size of an JL> element before rendering so you can then tweak the position based on the JL> size. Hmm. Interesting. The spec should be clear about this synchronization issue, when exactly the info is available. -- Chris mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]