handlers test are not reflecting the reality, we now simulate a click, move then click \n
that way geometry bounds are cleared, and the tests don't fail in IE6 anymore (See #1602), r=ahocevar,crschmidt (Closes #1623) git-svn-id: http://svn.openlayers.org/trunk/openlayers@7552 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
handler.mousedown(evt);
|
||||
handler.mouseup(evt);
|
||||
var evt = {xy: new OpenLayers.Pixel(175, 100), which: 1};
|
||||
handler.mousemove(evt);
|
||||
handler.mousedown(evt);
|
||||
handler.mouseup(evt);
|
||||
t.ok(handler.line.geometry.getBounds().equals(new OpenLayers.Bounds(0,-35.15625,35.15625,0)), "Correct bounds");
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
handler.mousedown(evt);
|
||||
handler.mouseup(evt);
|
||||
var evt = {xy: new OpenLayers.Pixel(175, 100), which: 1};
|
||||
handler.mousemove(evt);
|
||||
handler.mousedown(evt);
|
||||
handler.mouseup(evt);
|
||||
t.ok(handler.line.geometry.getBounds().equals(new OpenLayers.Bounds(0,-35.15625,35.15625,0)), "Correct bounds");
|
||||
|
||||
Reference in New Issue
Block a user