Remove unnecessary background setting in support now that we have the div reversion. Test added.
This commit is contained in:
parent
b43910a496
commit
e5457a5a1f
|
@ -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, {
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue