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:
+3
-3
@@ -463,7 +463,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
t.eq( image.style.position, "relative", "image.style.positionset correctly");
|
t.eq( image.style.position, "relative", "image.style.positionset correctly");
|
||||||
|
t.eq( image.src, img, "image.style.backgroundImage correctly");
|
||||||
|
|
||||||
if (OpenLayers.Util.alphaHack()) {
|
if (OpenLayers.Util.alphaHack()) {
|
||||||
|
|
||||||
var filter = "progid:DXImageTransform.Microsoft" +
|
var filter = "progid:DXImageTransform.Microsoft" +
|
||||||
@@ -474,8 +475,7 @@
|
|||||||
filter = "alpha(opacity=0)";
|
filter = "alpha(opacity=0)";
|
||||||
t.eq(image.style.filter, filter, "image filter set correctly");
|
t.eq(image.style.filter, filter, "image filter set correctly");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
t.eq( image.src, img, "image.style.backgroundImage correctly");
|
|
||||||
t.ok(true, "div filter value not set (not in IE)");
|
t.ok(true, "div filter value not set (not in IE)");
|
||||||
t.ok(true, "image filter value not set (not in IE)");
|
t.ok(true, "image filter value not set (not in IE)");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user