aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/qunit-assert-domequal.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/lib/qunit-assert-domequal.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/lib/qunit-assert-domequal.js')
-rw-r--r--tests/lib/qunit-assert-domequal.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/lib/qunit-assert-domequal.js b/tests/lib/qunit-assert-domequal.js
index bcce60702..d99ed06de 100644
--- a/tests/lib/qunit-assert-domequal.js
+++ b/tests/lib/qunit-assert-domequal.js
@@ -83,17 +83,6 @@ function getElementStyles( elem ) {
key = style[ len ];
camelKey = camelCase( key );
- // Support: IE <=11+
- // In IE, `option` elements may have different initial `option` colors.
- // They may initially all be transparent, but later the selected
- // option gets a blue background with white text; ignore it.
- if ( document.documentMode && elem.nodeName.toLowerCase() === "option" && (
- camelKey === "color" ||
- camelKey.indexOf( "Color" ) === camelKey.length - "Color".length
- ) ) {
- continue;
- }
-
if ( typeof style[ key ] === "string" ) {
styles[ camelKey ] = style[ key ];
}