Changeset 7308
- Timestamp:
- 06/05/08 11:45:03 (3 months ago)
- Files:
-
- trunk/openlayers/tests/Util.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/Util.html
r7299 r7308 401 401 402 402 function test_Util_modifyAlphaImageDiv(t) { 403 t.plan( 2 0);403 t.plan( 21 ); 404 404 405 405 var imageDiv = OpenLayers.Util.createAlphaImageDiv(); … … 485 485 imageDiv.style.display = display; 486 486 OpenLayers.Util.modifyAlphaImageDiv(imageDiv, id, xy, sz, img, position, border, sizing, opacity); 487 t.eq(imageDiv.style.display, "inline-block", "imageDiv.style.display set correctly, if not 'none'"); 487 if(OpenLayers.Util.alphaHack()) { 488 t.eq(imageDiv.style.display, "inline-block", "imageDiv.style.display set correctly, if not 'none'"); 489 } else { 490 t.ok(true, "inline-block is not part of CSS2 and is not supported by Firefox 2"); 491 } 488 492 489 493
