diff options
author | Anton M <obhvsbypqghgc@gmail.com> | 2011-02-14 00:37:07 +0100 |
---|---|---|
committer | Anton M <obhvsbypqghgc@gmail.com> | 2011-02-14 00:37:07 +0100 |
commit | 659773348f1fca0fb609f92271013f2a087f3247 (patch) | |
tree | 5bdf46fa9c71731169b18d4d7e4af7c68cbf20f4 /test | |
parent | c5edf982d59977c506fececd504a3dbfd1a398dc (diff) | |
download | jquery-659773348f1fca0fb609f92271013f2a087f3247.tar.gz jquery-659773348f1fca0fb609f92271013f2a087f3247.zip |
Fix breaking test in Chrome.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/effects.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index 7fb1c7d8d..a07c076d7 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -922,7 +922,7 @@ test("hide hidden elements, with animation (bug #7141)", function() { test("animate unit-less properties (#4966)", 2, function() { stop(); - var div = jQuery( "<div style='z-index: 0'></div>" ).appendTo( "body" ); + var div = jQuery( "<div style='z-index: 0; position: absolute;'></div>" ).appendTo( "#main" ); equal( div.css( "z-index" ), "0", "z-index is 0" ); div.animate({ zIndex: 2 }, function() { equal( div.css( "z-index" ), "2", "z-index is 2" ); |