A number of tests were not working as expected in IE. Specifically:
* Layer-KaMap, Grid, and Map were all having commented out tests run by Test.AnotherWay. * Layer.html was adding an additional , after a list in an object creation, which IE doesn't allow. * When setting the href="" of an <a> element, IE does not then return the concatanation of the location+href via the DOM. * EventPane has mouse handling tests which work in IE, but not in FF. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
if (!map.getCenter()) map.zoomToMaxExtent();
|
||||
map.addControl(control);
|
||||
map.pan(5, 0);
|
||||
t.eq($('permalink').href, location+"?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
|
||||
if (/MSIE/.test(navigator.userAgent)) {
|
||||
t.eq($('permalink').href, "?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
|
||||
} else {
|
||||
t.eq($('permalink').href, location+"?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
|
||||
}
|
||||
}
|
||||
function test_03_Control_Permalink_updateLinksBase (t) {
|
||||
t.plan( 2 );
|
||||
|
||||
Reference in New Issue
Block a user