Skip to content
Permalink
Browse files

Fix for #1198

  • Loading branch information
brandonaaron committed May 16, 2007
1 parent 108f308 commit 33c097bd1e3caf623cc9a1e4518150c5a2233e93
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/jquery/jquery.js
@@ -1442,15 +1442,15 @@ jQuery.extend({
return ret == "" ? "1" : ret;
}

if (prop == "float" || prop == "cssFloat")
if (prop.match(/float/i))
prop = jQuery.browser.msie ? "styleFloat" : "cssFloat";

if (!force && elem.style[prop])
ret = elem.style[prop];

else if (document.defaultView && document.defaultView.getComputedStyle) {

if (prop == "cssFloat" || prop == "styleFloat")
if (prop.match(/float/i))
prop = "float";

prop = prop.replace(/([A-Z])/g,"-$1").toLowerCase();
@@ -1558,6 +1558,7 @@ jQuery.extend({
"class": "className",
"float": jQuery.browser.msie ? "styleFloat" : "cssFloat",
cssFloat: jQuery.browser.msie ? "styleFloat" : "cssFloat",
styleFloat: jQuery.browser.msie ? "styleFloat" : "cssFloat",
innerHTML: "innerHTML",
className: "className",
value: "value",

0 comments on commit 33c097b

Please sign in to comment.
You can’t perform that action at this time.