Commit 9d255b3e authored by Richard Gibson's avatar Richard Gibson

Tests: Expand CSS relative adjustment tolerance for IE

Ref 48be675200e817f40fa8ec25da1be2ab0839d28d
Ref 4a8000b5

(cherry picked from commit e22ef5d9017c44cad97ae541fefce76cc455edcb)
parent 4a8000b5
......@@ -232,9 +232,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment