Skip to content

Commit

Permalink
Tests: Expand CSS relative adjustment tolerance for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Mar 17, 2015
1 parent 48be675 commit e22ef5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ test( "css() non-px relative values (gh-1711)", 17, function() {
$child.css( prop, adjustment );
cssCurrent = parseFloat( $child.css( prop ) );

// Require a difference of less than one pixel
// Require a difference of no more than one pixel
difference = Math.abs( cssCurrent - expected );
if ( difference < 1 ) {
if ( difference <= 1 ) {
ok( true, message );

// ...or fail with actual and expected values
Expand Down

0 comments on commit e22ef5d

Please sign in to comment.