Open GoogleCodeExporter opened 9 years ago
I solved it by simply removing the block of code, since removing the viewbox
was a bad thing in my case - the viewbox helps to center my SVG in the page.
The result:
function getRoot(root) {
if(svgRoot == null) {
var r = root.getElementById("viewport") ? root.getElementById("viewport") : root.documentElement;
svgRoot = r;
}
return svgRoot;
}
Original comment by rdu...@mcmillan-mcgee.com
on 2 Oct 2012 at 4:46
I just realized that my solution was no good - adding a viewBox attribute to
lion.svg revealed the bugs in my approach. Removing the viewbox seems to be
necessary for proper operation. Nice work Graham.
Original comment by rdu...@mcmillan-mcgee.com
on 2 Oct 2012 at 6:39
No problem, glad my report helped someone. I guess this project is dead now?
No release for over a year.
Original comment by grahamwh...@gmail.com
on 3 Oct 2012 at 7:13
Original issue reported on code.google.com by
graham_a...@hotmail.com
on 30 Sep 2011 at 9:15