Permalink
Browse files

Remove unnecessary background setting in support now that we have the…

… div reversion. Test added.
  • Loading branch information...
1 parent b43910a commit e5457a5a1faa642b0af13e87ee3f76f2ef704b30 timmywil committed May 25, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −3 src/support.js
  2. +4 −0 test/data/testsuite.css
View
@@ -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
@@ -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; }
+

0 comments on commit e5457a5

Please sign in to comment.