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:
@@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user