Fix breaking test in Chrome.
This commit is contained in:
parent
c5edf982d5
commit
659773348f
2 changed files with 3 additions and 3 deletions
2
test/unit/effects.js
vendored
2
test/unit/effects.js
vendored
|
@ -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" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue