aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/sortable/options.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-01 00:54:19 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-15 00:38:40 +0200
commitbb49bd794bc8ea4238162725b518fb46234f3cf9 (patch)
treedb7b6152daac9f2c6b5fd051ab5d3b7ec7382791 /tests/unit/sortable/options.js
parentdaa6fb55b35065c49c0ffc879c94627bbf85404c (diff)
downloadjquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.tar.gz
jquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.zip
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
Diffstat (limited to 'tests/unit/sortable/options.js')
-rw-r--r--tests/unit/sortable/options.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/unit/sortable/options.js b/tests/unit/sortable/options.js
index 0905de73c..3792d433f 100644
--- a/tests/unit/sortable/options.js
+++ b/tests/unit/sortable/options.js
@@ -294,17 +294,8 @@ QUnit.test( "{ forcePlaceholderSize: true } table rows", function( assert ) {
placeholder: "test",
forcePlaceholderSize: true,
start: function( event, ui ) {
-
- // Support: IE 11+, Edge <79 only
- // In IE & Edge Legacy these values may differ a little
- // when jQuery >=3.0 <3.2 is used.
- if ( jqMinor === "3.0." || jqMinor === "3.1." ) {
- assert.ok( Math.abs( ui.placeholder.height() - ui.item.height() ) < 0.25,
- "placeholder height is within 0.25 px of item's" );
- } else {
- assert.equal( ui.placeholder.height(), ui.item.height(),
- "placeholder is same height as item" );
- }
+ assert.equal( ui.placeholder.height(), ui.item.height(),
+ "placeholder is same height as item" );
}
} );