All tests now pass in IE.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@315 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-05-24 05:46:54 +00:00
parent cfb1b472a7
commit 0e6b61c352
9 changed files with 66 additions and 20 deletions
+2 -2
View File
@@ -18,8 +18,8 @@
map.addControl(control);
t.ok( control.map === map, "Control.map is set to the map object" );
t.ok( map.controls[2] === control, "map.controls contains control" );
t.eq( control.div.style.zIndex, "253", "Control div zIndexed properly" );
t.eq( map.viewPortDiv.lastChild.style.zIndex, "253", "Viewport div contains control div" );
t.eq( parseInt(control.div.style.zIndex), 253, "Control div zIndexed properly" );
t.eq( parseInt(map.viewPortDiv.lastChild.style.zIndex), 253, "Viewport div contains control div" );
t.eq( control.div.style.top, "4px", "Control div top located correctly by default");
var control2 = new OpenLayers.Control.PanZoom();