Permalink
Browse files

Tests: Expand CSS relative adjustment tolerance for IE

  • Loading branch information...
gibson042 committed Mar 17, 2015
1 parent 48be675 commit e22ef5d9017c44cad97ae541fefce76cc455edcb
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/css.js
View
@@ -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

0 comments on commit e22ef5d

Please sign in to comment.