From 3e4109781bc91f312491c1ff1a5b47ebbb304d68 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 3 Oct 2006 18:26:43 +0000 Subject: [PATCH] test for alpha hack, not just ie vs. mozilla git-svn-id: http://svn.openlayers.org/trunk/openlayers@1542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Util.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_Util.html b/tests/test_Util.html index 6d96ce3c93..1640590b21 100644 --- a/tests/test_Util.html +++ b/tests/test_Util.html @@ -294,7 +294,7 @@ OpenLayers.Util.modifyAlphaImageDiv(imageDiv, id, xy, sz, img, position, border, sizing, opacity); - if (!isMozilla) + if (OpenLayers.Util.alphaHack()) t.ok( true, "skipping element test outside of Mozilla"); else t.ok( imageDiv instanceof HTMLDivElement, "createDiv creates a valid HTMLDivElement" ); @@ -312,7 +312,7 @@ image = imageDiv.firstChild; - if (!isMozilla) + if (OpenLayers.Util.alphaHack()) t.ok( true, "skipping element test outside of Mozilla"); else t.ok( image instanceof HTMLImageElement, "createImage creates a valid HTMLImageElement" );