Skip to content

Commit

Permalink
Remove oldIE styleFloat detect.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Jan 4, 2013
1 parent cef3450 commit 9a32f12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/css.js
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions src/support.js
Expand Up @@ -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,

Expand Down

0 comments on commit 9a32f12

Please sign in to comment.