From: Jakub Pawlowicz Date: Sat, 7 Nov 2015 16:16:43 +0000 (+0000) Subject: Fixes transparent color test to use correct `background` declaration. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4f641658d254c50c464a04b9a84c6b41743b5763;p=clean-css.git Fixes transparent color test to use correct `background` declaration. Thanks to @alfaproject for spotting it. --- diff --git a/test/integration-test.js b/test/integration-test.js index b99cad49..8897ffbb 100644 --- a/test/integration-test.js +++ b/test/integration-test.js @@ -1159,9 +1159,9 @@ vows.describe('integration tests') 'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0))}', 'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0))}' ], - 'removes only right transparent colors': [ - 'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}', - 'a{background-color:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}' + 'keeps transparent color in layered background': [ + 'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}', + 'a{background:linear-gradient(0,#000,hsla(120,100%,50%,0)),rgba(0,0,0,0)}' ] }) )