fixed failing test by parseFloat'ing the frame styles

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9877 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2009-12-09 17:29:21 +00:00
parent 11924d0d0f
commit fe126f123f

View File

@@ -142,9 +142,9 @@
t.ok(true, "Skip filter test outside InternetExplorer.");
}
t.eq( iFrame.scrolling, 'no', "no scrolling");
t.eq( iFrame.marginWidth, '0', "no margin width");
t.eq( iFrame.marginHeight, '0', "no margin height");
t.eq( iFrame.frameBorder, '0', "no iframe border");
t.eq( parseFloat(iFrame.marginWidth), 0, "no margin width");
t.eq( parseFloat(iFrame.marginHeight), 0, "no margin height");
t.eq( parseFloat(iFrame.frameBorder), 0, "no iframe border");
}
function test_Tile_Image_IFrame_createRequestForm (t) {