OpenLayers OpenLayers

Changeset 7552

Show
Ignore:
Timestamp:
07/21/08 09:57:07 (4 months ago)
Author:
pgiraud
Message:

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)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/Handler/Path.html

    r6719 r7552  
    5858        handler.mouseup(evt); 
    5959        var evt = {xy: new OpenLayers.Pixel(175, 100), which: 1}; 
     60        handler.mousemove(evt); 
    6061        handler.mousedown(evt); 
    6162        handler.mouseup(evt); 
  • trunk/openlayers/tests/Handler/Polygon.html

    r6719 r7552  
    5959        handler.mouseup(evt); 
    6060        var evt = {xy: new OpenLayers.Pixel(175, 100), which: 1}; 
     61        handler.mousemove(evt); 
    6162        handler.mousedown(evt); 
    6263        handler.mouseup(evt);