the number of tests were wrong while launched in IE6, r=tschaub (Closes #1520)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
pgiraud
2008-07-17 15:23:51 +00:00
parent 98dc4001f4
commit 79552513ea

View File

@@ -463,7 +463,8 @@
}
t.eq( image.style.position, "relative", "image.style.positionset correctly");
t.eq( image.src, img, "image.style.backgroundImage correctly");
if (OpenLayers.Util.alphaHack()) {
var filter = "progid:DXImageTransform.Microsoft" +
@@ -474,8 +475,7 @@
filter = "alpha(opacity=0)";
t.eq(image.style.filter, filter, "image filter set correctly");
} else {
t.eq( image.src, img, "image.style.backgroundImage correctly");
} else {
t.ok(true, "div filter value not set (not in IE)");
t.ok(true, "image filter value not set (not in IE)");
}