Since r11544, the event xy property is the average of all touch pixel locations. This test should have been updated with that change.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11560 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-02-27 13:57:33 +00:00
parent 02d4257544
commit ba8aed56ef

View File

@@ -318,8 +318,8 @@
touches: [{clientX: 1, clientY: 1}, {clientX: 2, clientY: 2}]
};
events.handleBrowserEvent(evt);
t.eq(evt.clientX, 1, "evt.clientX value is correct");
t.eq(evt.clientY, 1, "evt.clientY value is correct");
t.eq(evt.clientX, 1.5, "evt.clientX value is correct");
t.eq(evt.clientY, 1.5, "evt.clientY value is correct");
}
function test_Events_destroy (t) {