Skip to content
Permalink
Browse files

Fix #11971 unit test in browsers lacking backgroundPositionX.

Closes gh-850.
  • Loading branch information...
gibson042 authored and dmethvin committed Jul 9, 2012
1 parent 3dbf9a8 commit 376f4e8cf637e76445082d7fdb88ab420d488b5c
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/unit/effects.js
@@ -1681,6 +1681,13 @@ asyncTest( "non-px animation handles non-numeric start (#11971)", 2, function()
var foo = jQuery("#foo"),
initial = foo.css("backgroundPositionX");

if ( initial == null ) {
expect(1);
ok( true, "Style property not understood" );
start();
return;
}

foo.animate({ backgroundPositionX: "42%" }, {
duration: 1,
progress: function( anim, percent ) {

0 comments on commit 376f4e8

Please sign in to comment.
You can’t perform that action at this time.