I have a g element that contains one or more path elements. As I mentioned in another question, I scale and translate the g element by
g
path
Apparently getBBox() doesn't take the transformations into consideration.
I can point you here, unfortunately I wasn't able to make it working: http://tech.groups.yahoo.com/group/svg-developers/message/22891