From: Daniel Ruf Date: Thu, 15 Feb 2018 06:56:54 +0000 (+0100) Subject: revert GetDimensions() unit test change for IE11 X-Git-Tag: v6.6.0~3^2~295^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e86d6e396c9534a0da25841e3c5cf758a89302b;p=thirdparty%2Ffoundation%2Ffoundation-sites.git revert GetDimensions() unit test change for IE11 --- diff --git a/test/javascript/util/box.js b/test/javascript/util/box.js index aedafed56..0f1073429 100644 --- a/test/javascript/util/box.js +++ b/test/javascript/util/box.js @@ -33,8 +33,8 @@ describe('Foundation box', function () { var dims = Foundation.Box.GetDimensions($("#rect-test")); - Math.round(dims.width).should.equal(200); // Math.round fix for IE 11 (probably because of rem) - Math.round(dims.height).should.equal(100); // Math.round fix for IE 11 (probably because of rem) + dims.width.should.equal(200); + dims.height.should.equal(100); }); it('parent height of element', function () {