codler/jQuery-Css3-Finalize — Issue #10: Gradient with rgba colors are not correctly parse
Author: nicolasbadia
Created: 2011-11-25 15:06:07+00:00
State: open

All is in the title. This work -> background-image: linear-gradient(#000, #111);

But this doesn't -> background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, .5));

This is because of this regex: /^linear-gradient\s?\(\s?(.*?)\s?\)$/

Hope you will find one which work !