]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
revert GetDimensions() unit test change for IE11
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Thu, 15 Feb 2018 06:56:54 +0000 (07:56 +0100)
committerDaniel Ruf <daniel.ruf@ueberbit.de>
Thu, 15 Feb 2018 06:56:54 +0000 (07:56 +0100)
test/javascript/util/box.js

index aedafed562d9a3b38d2b9c3a1af62005fd881e3c..0f1073429cfedfc68a73dd6ebad85216d052d710 100644 (file)
@@ -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 () {