@@ -1234,8 +1234,6 @@ QUnit.test( "Do not append px (trac-9548, trac-12990, gh-2792, gh-5179)", functi
12341234 // 'WebkitAspectRatio' which interferes with this test.
12351235 if ( $div . css ( "-webkit-aspect-ratio" ) !== "auto" ) {
12361236 $div . css ( "aspect-ratio" , 2 ) ;
1237- console . log ( "getComputedStyle( $div[ 0 ] ).aspectRatio" ,
1238- getComputedStyle ( $div [ 0 ] ) . aspectRatio ) ;
12391237 window . div = $div [ 0 ] ;
12401238 if ( $div . css ( "aspect-ratio" ) !== undefined ) {
12411239 assert . equal ( $div . css ( "aspect-ratio" ) , "2 / 1" ,
@@ -1248,11 +1246,15 @@ QUnit.test( "Do not append px (trac-9548, trac-12990, gh-2792, gh-5179)", functi
12481246 }
12491247
12501248 $div . css ( "border-image-slice" , 2 ) ;
1251- if ( $div . css ( "border-image-slice" ) !== undefined ) {
1249+ if ( $div . css ( "border-image-slice" ) !== undefined &&
1250+
1251+ // Support: Firefox <=48-54 only
1252+ // Older Firefox serializes 'border-image-slice' differently.
1253+ ! / f i r e f o x \/ 4 8 \. / i. test ( navigator . userAgent ) ) {
12521254 assert . equal ( $div . css ( "border-image-slice" ) , "2" ,
12531255 "Does not append px to 'border-image-slice'" ) ;
12541256 } else {
1255- assert . ok ( true , "No support for 'border-image-slice' CSS property" ) ;
1257+ assert . ok ( true , "No or broken support for 'border-image-slice' CSS property" ) ;
12561258 }
12571259
12581260 $div . css ( "column-count" , 1 ) ;
0 commit comments