OpenLayers OpenLayers

Changeset 2119

Show
Ignore:
Timestamp:
01/02/07 17:37:35 (2 years ago)
Author:
euzuro
Message:

updating marker test -- was failing in Opera

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/test_Marker.html

    r1541 r2119  
    4646    } 
    4747 
    48     function test_02_Marker_setOpacity(t) { 
     48    function test_03_Marker_setOpacity(t) { 
    4949        t.plan( 2 ); 
    5050         
     
    7070        marker.setOpacity(0.5); 
    7171 
    72         t.eq(marker.icon.imageDiv.style.opacity + "", "0.5", "marker.setOpacity() works"); 
     72        t.eq(parseFloat(marker.icon.imageDiv.style.opacity), 0.5, "marker.setOpacity() works"); 
    7373    } 
    7474