From: Timmy Willison <4timmywil@gmail.com> Date: Wed, 10 Jan 2018 16:52:50 +0000 (-0500) Subject: Tests: fix weird failure in Edge 16 CSS X-Git-Tag: 3.3.0~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e6deb3999539e6666106a524fe6f067f60a41f1;p=jquery.git Tests: fix weird failure in Edge 16 CSS Fixes gh-3866 Close gh-3932 --- diff --git a/test/unit/css.js b/test/unit/css.js index 7859e3fa8..29fa70906 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -262,13 +262,13 @@ QUnit.test( "css() non-px relative values (gh-1711)", function( assert ) { getUnits( "lineHeight" ); cssCurrent = parseFloat( $child.css( "lineHeight", "1em" ).css( "lineHeight" ) ); + add( "lineHeight", 50, "%" ); add( "lineHeight", 2, "em" ); add( "lineHeight", -10, "px" ); add( "lineHeight", 20, "pt" ); add( "lineHeight", 30, "pc" ); add( "lineHeight", 1, "cm" ); add( "lineHeight", -44, "mm" ); - add( "lineHeight", 50, "%" ); } ); QUnit.test( "css() mismatched relative values with bounded styles (gh-2144)", function( assert ) {