replace all spaces with '', so that it matches in SVG + FFox

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7664 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-08-01 18:12:09 +00:00
parent 6f73b412c2
commit 232b635b12

View File

@@ -401,7 +401,9 @@
var polygon = document.getElementById("ol-renderer-defs").firstChild.firstChild;
t.eq(polygon.getAttribute("points"), "0,0 0,1 1,1 1,0 0,0", "Square symbol rendered correctly");
var points = polygon.getAttribute("points");
t.eq(points.replace(/ /g,''), "0,00,11,11,00,0", "Square symbol rendered correctly");
t.ok(r.symbolSize["-square"], "Symbol size cached correctly.");
}