Tests: fix weird failure in Edge 16 CSS

Fixes gh-3866
Close gh-3932
This commit is contained in:
Timmy Willison 2018-01-10 11:52:50 -05:00
parent c4494d4abc
commit 5e6deb3999
No known key found for this signature in database
GPG Key ID: 5F0C8B73EF56CE6F

View File

@ -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 ) {