]> source.dussan.org Git - jquery.git/commitdiff
Remove unnecessary background setting in support now that we have the div reversion...
authortimmywil <tim.willison@thisismedium.com>
Wed, 25 May 2011 17:58:05 +0000 (13:58 -0400)
committertimmywil <tim.willison@thisismedium.com>
Wed, 25 May 2011 17:58:05 +0000 (13:58 -0400)
src/support.js
test/data/testsuite.css

index 4420b7fcac8bcb68bdb68d42be2b59574abf9cf7..e0474e7632e48f0384af43c749def0c8ef247c3f 100644 (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, {
index 99851eaa5315f057224362af302575a09916a7fc..8889de0f530b1ddd5540f9acbdd3eec740ad3fe1 100644 (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; }
+