Commit e5457a5a authored by timmywil's avatar timmywil

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

parent b43910a4
...@@ -147,9 +147,7 @@ jQuery.support = (function() { ...@@ -147,9 +147,7 @@ jQuery.support = (function() {
width: 0, width: 0,
height: 0, height: 0,
border: 0, border: 0,
margin: 0, margin: 0
// Set background to avoid IE crashes when removing (#9028)
background: "none"
}; };
if ( body ) { if ( body ) {
jQuery.extend( testElementStyle, { jQuery.extend( testElementStyle, {
......
...@@ -117,3 +117,7 @@ v\:oval { behavior:url(#default#VML); display:inline-block; } ...@@ -117,3 +117,7 @@ v\:oval { behavior:url(#default#VML); display:inline-block; }
tt { display: none; } tt { display: none; }
sup { display: none; } sup { display: none; }
dfn { 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; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment