OpenLayers OpenLayers

Changeset 5494

Show
Ignore:
Timestamp:
12/18/07 10:26:53 (1 year ago)
Author:
fredj
Message:

Fix (again) the setSize() test.

Files:

Legend:

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

    r5492 r5494  
    9090        var size = new OpenLayers.Size(1,2); 
    9191        r.setSize(size); 
    92         t.eq(r.rendererRoot.style.width, "100%", "rendererRoot width is correct"); 
    93         t.eq(r.rendererRoot.style.height, "100%", "rendererRoot height is correct"); 
    94          
    95         t.eq(r.root.style.width, "100%", "root width is correct"); 
    96         t.eq(r.root.style.height, "100%", "root height is correct"); 
     92        t.eq(r.rendererRoot.style.width, "1px", "rendererRoot width is correct"); 
     93        t.eq(r.rendererRoot.style.height, "2px", "rendererRoot height is correct"); 
     94         
     95        t.eq(r.root.style.width, "1px", "root width is correct"); 
     96        t.eq(r.root.style.height, "2px", "root height is correct"); 
    9797    } 
    9898