|
|
@ -92,7 +92,10 @@ module.exports = { |
|
|
|
assert.equal('#80c880', ctx[prop], prop + ' rgba(128, 200, 128, 1) -> #80c880, got ' + ctx[prop]); |
|
|
|
|
|
|
|
ctx[prop] = 'rgba(128,80,0,0.5)'; |
|
|
|
assert.equal('rgba(128, 80, 0, 0.5)', ctx[prop], prop + ' rgba(128,80,0,0.5) -> rgba(128, 80, 0, 0.5), got ' + ctx[prop]); |
|
|
|
assert.equal('rgba(128, 80, 0, 0.50)', ctx[prop], prop + ' rgba(128,80,0,0.5) -> rgba(128, 80, 0, 0.5), got ' + ctx[prop]); |
|
|
|
|
|
|
|
ctx[prop] = 'rgba(128,80,0,0.75)'; |
|
|
|
assert.equal('rgba(128, 80, 0, 0.75)', ctx[prop], prop + ' rgba(128,80,0,0.75) -> rgba(128, 80, 0, 0.75), got ' + ctx[prop]); |
|
|
|
|
|
|
|
if ('shadowColor' == prop) return; |
|
|
|
|
|
|
|