@@ -464,6 +464,7 @@ it('transforms box-shadow into shadow- properties', () => runTest([
464
464
shadowOffset : { width : 10 , height : 20 } ,
465
465
shadowRadius : 30 ,
466
466
shadowColor : 'red' ,
467
+ shadowOpacity : 1 ,
467
468
} ) ) ;
468
469
469
470
it ( 'transforms box-shadow without blur-radius' , ( ) => runTest ( [
@@ -472,6 +473,7 @@ it('transforms box-shadow without blur-radius', () => runTest([
472
473
shadowOffset : { width : 10 , height : 20 } ,
473
474
shadowRadius : 0 ,
474
475
shadowColor : 'red' ,
476
+ shadowOpacity : 1 ,
475
477
} ) ) ;
476
478
477
479
it ( 'transforms box-shadow without color' , ( ) => runTest ( [
@@ -480,6 +482,7 @@ it('transforms box-shadow without color', () => runTest([
480
482
shadowOffset : { width : 10 , height : 20 } ,
481
483
shadowRadius : 30 ,
482
484
shadowColor : 'black' ,
485
+ shadowOpacity : 1 ,
483
486
} ) ) ;
484
487
485
488
it ( 'transforms box-shadow without blur-radius, color' , ( ) => runTest ( [
@@ -488,6 +491,7 @@ it('transforms box-shadow without blur-radius, color', () => runTest([
488
491
shadowOffset : { width : 10 , height : 20 } ,
489
492
shadowRadius : 0 ,
490
493
shadowColor : 'black' ,
494
+ shadowOpacity : 1 ,
491
495
} ) ) ;
492
496
493
497
it ( 'transforms box-shadow with rgb color' , ( ) => runTest ( [
@@ -496,6 +500,7 @@ it('transforms box-shadow with rgb color', () => runTest([
496
500
shadowOffset : { width : 10 , height : 20 } ,
497
501
shadowRadius : 0 ,
498
502
shadowColor : 'rgb(100, 100, 100)' ,
503
+ shadowOpacity : 1 ,
499
504
} ) ) ;
500
505
501
506
it ( 'transforms box-shadow with rgba color' , ( ) => runTest ( [
@@ -504,6 +509,7 @@ it('transforms box-shadow with rgba color', () => runTest([
504
509
shadowOffset : { width : 10 , height : 20 } ,
505
510
shadowRadius : 0 ,
506
511
shadowColor : 'rgba(100, 100, 100, 0.5)' ,
512
+ shadowOpacity : 1 ,
507
513
} ) ) ;
508
514
509
515
it ( 'transforms box-shadow with hsl color' , ( ) => runTest ( [
@@ -512,6 +518,7 @@ it('transforms box-shadow with hsl color', () => runTest([
512
518
shadowOffset : { width : 10 , height : 20 } ,
513
519
shadowRadius : 0 ,
514
520
shadowColor : 'hsl(120, 100%, 50%)' ,
521
+ shadowOpacity : 1 ,
515
522
} ) ) ;
516
523
517
524
it ( 'transforms box-shadow with hsla color' , ( ) => runTest ( [
@@ -520,6 +527,7 @@ it('transforms box-shadow with hsla color', () => runTest([
520
527
shadowOffset : { width : 10 , height : 20 } ,
521
528
shadowRadius : 0 ,
522
529
shadowColor : 'hsla(120, 100%, 50%, 0.7)' ,
530
+ shadowOpacity : 1 ,
523
531
} ) ) ;
524
532
525
533
it ( 'transforms box-shadow enforces offset to be present' , ( ) => {
0 commit comments