From 9a32f12bdfcc9b7d27cd5907d838c638e5c735f7 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Wed, 2 Jan 2013 21:32:43 -0500 Subject: [PATCH] Remove oldIE styleFloat detect. --- src/css.js | 2 +- src/support.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/css.js b/src/css.js index a29356e1b..6b800d6d3 100644 --- a/src/css.js +++ b/src/css.js @@ -172,7 +172,7 @@ jQuery.extend({ // setting or getting the value cssProps: { // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + "float": "cssFloat" }, // Get and set the style property on a DOM Node diff --git a/src/support.js b/src/support.js index 3c763092f..25b2fd883 100644 --- a/src/support.js +++ b/src/support.js @@ -21,10 +21,6 @@ jQuery.support = (function() { a.style.cssText = "float:left;opacity:.5"; support = { - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) checkOn: !!input.value, -- 2.39.5