diff --git a/src/support.js b/src/support.js index 4420b7fc..e0474e76 100644 --- a/src/support.js +++ b/src/support.js @@ -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, { diff --git a/test/data/testsuite.css b/test/data/testsuite.css index 99851eaa..8889de0f 100644 --- a/test/data/testsuite.css +++ b/test/data/testsuite.css @@ -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; } +