mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
Tests: fix weird failure in Edge 16 CSS
Fixes gh-3866 Close gh-3932
This commit is contained in:
parent
c4494d4abc
commit
5e6deb3999
@ -262,13 +262,13 @@ QUnit.test( "css() non-px relative values (gh-1711)", function( assert ) {
|
|||||||
|
|
||||||
getUnits( "lineHeight" );
|
getUnits( "lineHeight" );
|
||||||
cssCurrent = parseFloat( $child.css( "lineHeight", "1em" ).css( "lineHeight" ) );
|
cssCurrent = parseFloat( $child.css( "lineHeight", "1em" ).css( "lineHeight" ) );
|
||||||
|
add( "lineHeight", 50, "%" );
|
||||||
add( "lineHeight", 2, "em" );
|
add( "lineHeight", 2, "em" );
|
||||||
add( "lineHeight", -10, "px" );
|
add( "lineHeight", -10, "px" );
|
||||||
add( "lineHeight", 20, "pt" );
|
add( "lineHeight", 20, "pt" );
|
||||||
add( "lineHeight", 30, "pc" );
|
add( "lineHeight", 30, "pc" );
|
||||||
add( "lineHeight", 1, "cm" );
|
add( "lineHeight", 1, "cm" );
|
||||||
add( "lineHeight", -44, "mm" );
|
add( "lineHeight", -44, "mm" );
|
||||||
add( "lineHeight", 50, "%" );
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
QUnit.test( "css() mismatched relative values with bounded styles (gh-2144)", function( assert ) {
|
QUnit.test( "css() mismatched relative values with bounded styles (gh-2144)", function( assert ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user