diff options
author | Timmy Willison <4timmywil@gmail.com> | 2018-01-10 11:52:50 -0500 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2018-01-16 10:16:15 -0500 |
commit | 5e6deb3999539e6666106a524fe6f067f60a41f1 (patch) | |
tree | f794faf0396d898abc95b79a54c77dcddffeea91 /test | |
parent | c4494d4abc84d368d6597889ab45fc07466f8f26 (diff) | |
download | jquery-5e6deb3999539e6666106a524fe6f067f60a41f1.tar.gz jquery-5e6deb3999539e6666106a524fe6f067f60a41f1.zip |
Tests: fix weird failure in Edge 16 CSS
Fixes gh-3866
Close gh-3932
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |