@@ -183,9 +183,9 @@ describe('CSSStyleDeclaration', () => {
183
183
style . color = 'rgba(0,0,0,0)' ;
184
184
expect ( style . color ) . toEqual ( 'rgba(0, 0, 0, 0)' ) ;
185
185
style . color = 'rgba(5%, 10%, 20%, 0.4)' ;
186
- expect ( style . color ) . toEqual ( 'rgba(12, 25 , 51, 0.4)' ) ;
186
+ expect ( style . color ) . toEqual ( 'rgba(13, 26 , 51, 0.4)' ) ;
187
187
style . color = 'rgb(33%, 34%, 33%)' ;
188
- expect ( style . color ) . toEqual ( 'rgb(84, 86 , 84)' ) ;
188
+ expect ( style . color ) . toEqual ( 'rgb(84, 87 , 84)' ) ;
189
189
style . color = 'rgba(300, 200, 100, 1.5)' ;
190
190
expect ( style . color ) . toEqual ( 'rgb(255, 200, 100)' ) ;
191
191
style . color = 'hsla(0, 1%, 2%, 0.5)' ;
@@ -199,7 +199,7 @@ describe('CSSStyleDeclaration', () => {
199
199
style . color = 'currentcolor' ;
200
200
expect ( style . color ) . toEqual ( 'currentcolor' ) ;
201
201
style . color = '#ffffffff' ;
202
- expect ( style . color ) . toEqual ( 'rgba (255, 255, 255, 1 )' ) ;
202
+ expect ( style . color ) . toEqual ( 'rgb (255, 255, 255)' ) ;
203
203
style . color = '#fffa' ;
204
204
expect ( style . color ) . toEqual ( 'rgba(255, 255, 255, 0.667)' ) ;
205
205
style . color = '#ffffff66' ;
0 commit comments