Remove unnecessary background setting in support now that we have the div reversion. Test added.

1.7/enhancement_8685
timmywil 2011-05-25 13:58:05 -04:00
parent b43910a496
commit e5457a5a1f
2 changed files with 5 additions and 3 deletions

View File

@ -147,9 +147,7 @@ jQuery.support = (function() {
width: 0,
height: 0,
border: 0,
margin: 0,
// Set background to avoid IE crashes when removing (#9028)
background: "none"
margin: 0
};
if ( body ) {
jQuery.extend( testElementStyle, {

View File

@ -117,3 +117,7 @@ v\:oval { behavior:url(#default#VML); display:inline-block; }
tt { display: none; }
sup { display: none; }
dfn { display: none; }
/* #9239 Attach a background to the body( avoid crashes in removing the test element in support ) */
body { background: url(http://www.ctemploymentlawblog.com/test.jpg) no-repeat -1000px 0; }