aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-10-20 19:18:34 -0400
committerScott González <scott.gonzalez@gmail.com>2014-10-21 09:06:58 -0400
commit6d7589351eae1e180579fc0c87885e5ab7a73f48 (patch)
tree3b3b0c0bfc698148dd75d9f0d1fbb8af31c59724 /tests/unit/selectable
parentfaf87d992455280182edef015c8733313744a739 (diff)
downloadjquery-ui-6d7589351eae1e180579fc0c87885e5ab7a73f48.tar.gz
jquery-ui-6d7589351eae1e180579fc0c87885e5ab7a73f48.zip
All: Drop support for IE7
Fixes #9838 Closes gh-1365
Diffstat (limited to 'tests/unit/selectable')
-rw-r--r--tests/unit/selectable/selectable_events.js7
1 files changed, 2 insertions, 5 deletions
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" );