diff --git a/test/modules/navigator.js b/test/modules/navigator.js index 67bfbd43..e55c5400 100644 --- a/test/modules/navigator.js +++ b/test/modules/navigator.js @@ -240,6 +240,8 @@ event.button = 0; $canvas.simulate( 'mouseup', event ); + event.clientX = offset.left - 1; + event.clientY = offset.top - 1; event.relatedTarget = document.body; $canvas.simulate( 'mouseleave', event ); };