X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=ef728f032da1dacd7be62b7ace5f138abceed9ca;hb=af329ed00b0499a8d393f132d2765d02144f6820;hp=5940df380420cd52443c006f001f1870b0a001fe;hpb=2e0c87cf234c7d352336435b51f8b3eb012119ca;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 5940df3..ef728f0 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1443,7 +1443,7 @@ jQuery.extend({ } if (prop.match(/float/i)) - prop = jQuery.browser.msie ? "styleFloat" : "cssFloat"; + prop = jQuery.styleFloat; if (!force && elem.style[prop]) ret = elem.style[prop]; @@ -1820,12 +1820,14 @@ new function() { // Check to see if the W3C box model is being used jQuery.boxModel = !jQuery.browser.msie || document.compatMode == "CSS1Compat"; + jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat", + jQuery.props = { "for": "htmlFor", "class": "className", - "float": jQuery.browser.msie ? "styleFloat" : "cssFloat", - cssFloat: jQuery.browser.msie ? "styleFloat" : "cssFloat", - styleFloat: jQuery.browser.msie ? "styleFloat" : "cssFloat", + "float": jQuery.styleFloat, + cssFloat: jQuery.styleFloat, + styleFloat: jQuery.styleFloat, innerHTML: "innerHTML", className: "className", value: "value",