Fix for #193 again

This commit is contained in:
Brandon Aaron 2006-10-15 22:47:58 +00:00
parent 2e23d0168e
commit 688c724b1f

View file

@ -1501,6 +1501,9 @@ jQuery.extend({
} else if (document.defaultView && document.defaultView.getComputedStyle) { } else if (document.defaultView && document.defaultView.getComputedStyle) {
if (prop == "cssFloat" || prop == "styleFloat")
prop = "float";
prop = prop.replace(/([A-Z])/g,"-$1").toLowerCase(); prop = prop.replace(/([A-Z])/g,"-$1").toLowerCase();
var cur = document.defaultView.getComputedStyle(elem, null); var cur = document.defaultView.getComputedStyle(elem, null);