@@ -16,7 +16,7 @@ suite('color-handler', function() {
16
16
test ( 'color interpolation' , function ( ) {
17
17
assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , '#00aa11' , '#aa00bb' ) ( 0.2 ) , 'rgba(34,136,51,1)' ) ;
18
18
assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , 'transparent' , '#004488' ) ( 0 ) , 'transparent' ) ;
19
- assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , 'transparent' , '#004488' ) ( 0.5 ) , 'rgba(0,68,136,0.500 )' ) ;
19
+ assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , 'transparent' , '#004488' ) ( 0.5 ) , 'rgba(0,68,136,0.5 )' ) ;
20
20
assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , 'red' , 'green' ) ( 2 ) , 'rgba(0,255,0,1)' ) ;
21
21
assert . equal ( webAnimations1 . propertyInterpolation ( 'color' , 'red' , 'green' ) ( - 1 ) , 'rgba(255,0,0,1)' ) ;
22
22
} ) ;
@@ -28,6 +28,6 @@ suite('color-handler', function() {
28
28
assert . equal ( webAnimations1 . propertyInterpolation ( 'stroke' , '#00fe00' , '#180036' ) ( 0.5 ) , 'rgba(12,127,27,1)' ) ;
29
29
} ) ;
30
30
test ( 'interpolation to/from initial' , function ( ) {
31
- assert . equal ( webAnimations1 . propertyInterpolation ( 'backgroundColor' , 'initial' , 'red' ) ( 0.5 ) , 'rgba(255,0,0,0.500 )' ) ;
31
+ assert . equal ( webAnimations1 . propertyInterpolation ( 'backgroundColor' , 'initial' , 'red' ) ( 0.5 ) , 'rgba(255,0,0,0.5 )' ) ;
32
32
} ) ;
33
33
} ) ;
0 commit comments