X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fsupport.js;h=332839df87f3560ccb4292fad17d3e9a21945160;hb=255068da33e3d131b3a641c041fb8cecb1543fa4;hp=dc7ad8fefba17bef74444eeae8e3c2595694352b;hpb=92a076cb2f7679043575977092be1233cb1c687f;p=jquery.git
diff --git a/src/support.js b/src/support.js
index dc7ad8f..332839d 100644
--- a/src/support.js
+++ b/src/support.js
@@ -8,7 +8,7 @@
id = "script" + (new Date).getTime();
div.style.display = "none";
- div.innerHTML = '
a';
+ div.innerHTML = ' a';
var all = div.getElementsByTagName("*"),
a = div.getElementsByTagName("a")[0];
@@ -40,7 +40,7 @@
// Make sure that element opacity exists
// (IE uses filter instead)
- opacity: a.style.opacity === "0.5",
+ opacity: a.style.opacity === "0.55",
// Verify style float existence
// (IE uses styleFloat instead of cssFloat)
@@ -88,6 +88,7 @@
document.body.appendChild( div );
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
document.body.removeChild( div ).style.display = 'none';
+ div = null;
});
// release memory in IE
@@ -101,5 +102,8 @@ jQuery.props = {
maxlength: "maxLength",
cellspacing: "cellSpacing",
rowspan: "rowSpan",
- tabindex: "tabIndex"
+ colspan: "colSpan",
+ tabindex: "tabIndex",
+ usemap: "useMap",
+ frameborder: "frameBorder"
};