MRchildNEO / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Image is sized with half the height it should be #600

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See attached test file

What is the expected output? What do you see instead?
The image should fill the box, but it is only half the height it should be.

Original issue reported on code.google.com by grick23@gmail.com on 4 Jan 2011 at 3:06

Attachments:

GoogleCodeExporter commented 8 years ago
If you add a viewBox attribute, like this: svg.setAttribute('viewBox', '0 0 500 
400') the problem goes away.

Original comment by grick23@gmail.com on 6 Jan 2011 at 2:58