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:
@@ -89,8 +89,8 @@
|
|||||||
|
|
||||||
var size = new OpenLayers.Size(1,2);
|
var size = new OpenLayers.Size(1,2);
|
||||||
r.setSize(size);
|
r.setSize(size);
|
||||||
t.eq(r.rendererRoot.style.width, "1px", "rendererRoot width is correct");
|
t.eq(r.rendererRoot.style.width, "100%", "rendererRoot width is correct");
|
||||||
t.eq(r.rendererRoot.style.height, "2px", "rendererRoot height 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.width, "100%", "root width is correct");
|
||||||
t.eq(r.root.style.height, "100%", "root height is correct");
|
t.eq(r.root.style.height, "100%", "root height is correct");
|
||||||
|
|||||||
Reference in New Issue
Block a user