Vector test fix

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5476 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-18 02:44:17 +00:00
parent 1b40772aaf
commit 611cb91171

View File

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