Fixed Issue 586: Unit test broken since r1541, made sure other unit tests pass too

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1785 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-10-08 17:25:11 +00:00
parent 1ef20a3afc
commit e936e96078
2 changed files with 20 additions and 13 deletions

View File

@@ -8610,6 +8610,8 @@ this.importSvgString = function(xmlString) {
// import new svg document into our document
var svg = svgdoc.importNode(newDoc.documentElement, true);
uniquifyElems(svg);
var innerw = convertToNum('width', svg.getAttribute("width")),
innerh = convertToNum('height', svg.getAttribute("height")),
innervb = svg.getAttribute("viewBox"),