We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a2fdc commit d047073Copy full SHA for d047073
test/unit/offset.js
@@ -566,7 +566,9 @@ QUnit.test( "fractions (see #7730 and #7885)", function( assert ) {
566
567
result = div.offset();
568
569
- assert.equal( result.top, expected.top, "Check top" );
+ // Support: Chrome 45-46+
570
+ // In recent Chrome these values differ a little.
571
+ assert.ok( Math.abs( result.top - expected.top ) < 0.25, "Check top within 0.25 of expected" );
572
assert.equal( result.left, expected.left, "Check left" );
573
574
div.remove();
0 commit comments