From 79552513eaf2c82addc844d0f2e5807476272a55 Mon Sep 17 00:00:00 2001 From: pgiraud Date: Thu, 17 Jul 2008 15:23:51 +0000 Subject: [PATCH] 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 --- tests/Util.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Util.html b/tests/Util.html index aefd31089a..624b19df43 100644 --- a/tests/Util.html +++ b/tests/Util.html @@ -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)"); }