deCSS3 icon indicating copy to clipboard operation
deCSS3 copied to clipboard

Linear Gradients have different ways of existing.

Open SlexAxton opened this issue 12 years ago • 2 comments

-webkit-gradient(linear,left top,left bottom,from(#F4F4F4),to(#ECECEC));

our current search for /linear-gradient(.*?)/g isn't cutting it here.

SlexAxton avatar Aug 23 '11 05:08 SlexAxton

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.

davatron5000 avatar Aug 23 '11 13:08 davatron5000

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.

chriscoyier avatar Aug 23 '11 20:08 chriscoyier