@@ -1748,6 +1748,7 @@ QUnit.testUnlessIE( "css(--customProperty)", function( assert ) {
17481748" --prop10:\f\r\n\t val10 \f\r\n\t;\n" +
17491749" --prop11:\u000C\u000D\u000A\u0009\u0020val11\u0020\u0009\u000A\u000D\u000C;\n" +
17501750" --prop12:\u000Bval12\u000B;\n" +
1751+ " --empty:;\n" +
17511752" }\n" +
17521753"</style>"
17531754) ;
@@ -1756,7 +1757,7 @@ QUnit.testUnlessIE( "css(--customProperty)", function( assert ) {
17561757$elem = jQuery ( "<div>" ) . addClass ( "test__customProperties" )
17571758. appendTo ( "#qunit-fixture" ) ,
17581759webkitOrBlink = / \b s a f a r i \b / i. test ( navigator . userAgent ) ,
1759- expected = 17 ;
1760+ expected = 19 ;
17601761
17611762if ( webkitOrBlink ) {
17621763expected -= 2 ;
@@ -1802,6 +1803,8 @@ QUnit.testUnlessIE( "css(--customProperty)", function( assert ) {
18021803assert . equal ( $elem . css ( "--prop10" ) , "val10" , "Multiple preceding and following escaped unicode whitespace trimmed" ) ;
18031804assert . equal ( $elem . css ( "--prop11" ) , "val11" , "Multiple preceding and following unicode whitespace trimmed" ) ;
18041805assert . equal ( $elem . css ( "--prop12" ) , "\u000Bval12\u000B" , "Multiple preceding and following non-CSS whitespace reserved" ) ;
1806+ assert . equal ( $elem . css ( "--empty" ) , undefined ) ;
1807+ assert . equal ( $elem . css ( "--nonexistent" ) , undefined ) ;
18051808} ) ;
18061809
18071810// IE doesn't support CSS variables.