From 6d7589351eae1e180579fc0c87885e5ab7a73f48 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 20 Oct 2014 19:18:34 -0400 Subject: All: Drop support for IE7 Fixes #9838 Closes gh-1365 --- tests/unit/selectable/selectable_events.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/unit/selectable') diff --git a/tests/unit/selectable/selectable_events.js b/tests/unit/selectable/selectable_events.js index 2cb99f49c..5df7f2f5b 100644 --- a/tests/unit/selectable/selectable_events.js +++ b/tests/unit/selectable/selectable_events.js @@ -49,12 +49,9 @@ test( "mousedown: initial position of helper", function() { clientY: 10 }); - // we do a GTE comparison here because IE7 erroneously subtracts - // 2 pixels from a simulated mousedown for clientX/Y - // Support: IE7 helperOffset = $( ".ui-selectable-helper" ).offset(); - ok( helperOffset.top >= 99, "Scroll top should be accounted for." ); - ok( helperOffset.left >= 99, "Scroll left should be accounted for." ); + ok( helperOffset.top, 110, "Scroll top should be accounted for." ); + ok( helperOffset.left, 110, "Scroll left should be accounted for." ); // Cleanup element.simulate( "mouseup" ); -- cgit v1.2.3