opera drops the ';' on the assigned property when retrieving it.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5454 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-17 04:47:30 +00:00
parent abfe313ab4
commit 5f6cabf2ec

View File

@@ -260,7 +260,7 @@
feature.style = customStyle5;
layer.drawFeature(feature);
t.eq(root.firstChild.getAttributeNS(null, 'style'),
'opacity: '+customStyle5.graphicOpacity.toString()+';',
'opacity: '+customStyle5.graphicOpacity.toString()+(OpenLayers.Util.getBrowserName() == "opera" ? "" : ';'),
"graphicOpacity correctly set");
feature.style = customStyle6;
layer.drawFeature(feature);