Fix the setSize() test. Regression introduced in r5488

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5492 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2007-12-18 15:14:23 +00:00
parent 32081348bf
commit ac4f4dba7c

View File

@@ -89,8 +89,8 @@
var size = new OpenLayers.Size(1,2);
r.setSize(size);
t.eq(r.rendererRoot.style.width, "1px", "rendererRoot width is correct");
t.eq(r.rendererRoot.style.height, "2px", "rendererRoot height is correct");
t.eq(r.rendererRoot.style.width, "100%", "rendererRoot width is correct");
t.eq(r.rendererRoot.style.height, "100%", "rendererRoot height is correct");
t.eq(r.root.style.width, "100%", "root width is correct");
t.eq(r.root.style.height, "100%", "root height is correct");
@@ -302,4 +302,4 @@
<body>
<div id="map" style="width:500px;height:550px"></div>
</body>
</html>
</html>