deCSS3
deCSS3 copied to clipboard
Linear Gradients have different ways of existing.
-webkit-gradient(linear,left top,left bottom,from(#F4F4F4),to(#ECECEC));
our current search for /linear-gradient(.*?)/g
isn't cutting it here.
I'll build out our test suite (ahem example.html ahem) a little more and add the full CSS3Please syntax. I'm less concerned with supporting -ms-filter
, but we'll see. We could probably get by detecting -gradient
and emptying that out.
Sounds like a search for "-gradient" is best as that will catch linear and radial gradients (and conical in the future) as well as vendor prefixed versions.